]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Reset mmu context when entering real mode
authorEddie Dong <eddie.dong@intel.com>
Wed, 10 Oct 2007 06:26:45 +0000 (14:26 +0800)
committerAvi Kivity <avi@qumranet.com>
Mon, 22 Oct 2007 10:03:28 +0000 (12:03 +0200)
commit11e1224ee64493a328a53aa5eec0bc7fef16282c
tree3744b15b77dfdc6457225d69ee76d255b62ff94e
parent4e4da00b9ff03488c55f10772e756bd5f2455970
KVM: VMX: Reset mmu context when entering real mode

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>
drivers/kvm/mmu.c
drivers/kvm/vmx.c