]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Fix a wrong usage of vmcs_config
authorSheng Yang <sheng.yang@intel.com>
Wed, 18 Jun 2008 06:43:38 +0000 (14:43 +0800)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:36 +0000 (12:42 +0300)
commit65267ea1b3e768dc54b63cd7fad520d89c27d350
tree403dd76e60a43dd93a3467e4e6c50f40196d1590
parentdb475c39eca0f2e44953d96e768d7ce808ab85bd
KVM: VMX: Fix a wrong usage of vmcs_config

The function ept_update_paging_mode_cr0() write to
CPU_BASED_VM_EXEC_CONTROL based on vmcs_config.cpu_based_exec_ctrl. That's
wrong because the variable may not consistent with the content in the
CPU_BASE_VM_EXEC_CONTROL MSR.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c