]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Remove set_cr0_no_modeswitch() arch op
authorAvi Kivity <avi@qumranet.com>
Tue, 20 Mar 2007 16:44:51 +0000 (18:44 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:25 +0000 (10:52 +0300)
commit5b92d0a0433a1661f1b9755c3758e078d76dc369
treeca52c2a5553d8f0c4bcd7b3a9587fcf00e374731
parentad5266b7aeb5436d873ab71bbdb5d7405261c0fb
KVM: Remove set_cr0_no_modeswitch() arch op

set_cr0_no_modeswitch() was a hack to avoid corrupting segment registers.
As we now cache the protected mode values on entry to real mode, this
isn't an issue anymore, and it interferes with reboot (which usually _is_
a modeswitch).

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c
drivers/kvm/vmx.c