commit | 65267ea1b3e768dc54b63cd7fad520d89c27d350 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng.yang@intel.com> | Wed Jun 18 14:43:38 2008 +0800 |
committer | Avi Kivity <avi@qumranet.com> | Sun Jul 20 12:42:36 2008 +0300 |
tree | 403dd76e60a43dd93a3467e4e6c50f40196d1590 | |
parent | db475c39eca0f2e44953d96e768d7ce808ab85bd [diff] |
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>