]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: VMX: Reset mmu context when entering real mode
authorEddie Dong <eddie.dong@intel.com>
Sun, 2 Dec 2007 11:18:47 +0000 (13:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:50:57 +0000 (09:50 -0800)
commit0fe8f9b280a5f7a65aebc51ab6b5200a8bf05e13
tree194db8b8d5e9986ebfe9737793d41a9308e6ff63
parent9ec0e2f614c0b29e87ff0b451aa1201498309bd7
KVM: VMX: Reset mmu context when entering real mode

patch 8668a3c468ed55d19514117a5a959d91d3d03823 in mainline.

Resetting an SMP guest will force AP enter real mode (RESET) with
paging enabled in protected mode. While current enter_rmode() can
only handle mode switch from nonpaging mode to real mode which leads
to SMP reboot failure.

Fix by reloading the mmu context on entering real mode.

Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/kvm/mmu.c
drivers/kvm/vmx.c