]> err.no Git - linux-2.6/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)
commitf6528b03f167785301908bf124db7be591e983ca
treeca52c2a5553d8f0c4bcd7b3a9587fcf00e374731
parent8cb5b0333250beb382624f626851a31f601b4830
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