diff options
author | Avi Kivity <avi@redhat.com> | 2010-05-12 00:28:44 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-19 11:41:08 +0300 |
commit | f78e917688edbf1f14c318d2e50dc8e7dad20445 (patch) | |
tree | 8894410296279382ec6d9860534442c4cd1a5087 /arch/x86/kvm/Makefile | |
parent | 09c9e81366b9167b88ff05cf29fa94dc3553eb3d (diff) | |
download | kernel_samsung_aries-f78e917688edbf1f14c318d2e50dc8e7dad20445.zip kernel_samsung_aries-f78e917688edbf1f14c318d2e50dc8e7dad20445.tar.gz kernel_samsung_aries-f78e917688edbf1f14c318d2e50dc8e7dad20445.tar.bz2 |
KVM: Don't allow lmsw to clear cr0.pe
The current lmsw implementation allows the guest to clear cr0.pe, contrary
to the manual, which breaks EMM386.EXE.
Fix by ORing the old cr0.pe with lmsw's operand.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/Makefile')
0 files changed, 0 insertions, 0 deletions