commit | 4a25eba5fa68f90e84a596bc9b6bbb020f682b57 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng.yang@intel.com> | Wed Jun 18 14:43:38 2008 +0800 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jun 25 15:05:40 2008 +0300 |
tree | 7b542af1580d4966e939d3836c3eac8f22fc3464 | |
parent | ec84e64290451062f64bfd1cf79ee524a1c455fc [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>