]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: x86 emulator: fix LMSW able to clear cr0.pe
authorAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 15:35:24 +0000 (18:35 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:28 +0000 (10:50 +0200)
commit9928ff608b1b6ba10fafde85f57970a83a181331
treeea0975c4df94729300547a86fbb3b9280a6036c1
parente85d28f8e8cef09b8e424448ccedb7244cfbf147
KVM: x86 emulator: fix LMSW able to clear cr0.pe

LMSW is documented not to be able to clear cr0.pe; make it so.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c