diff options
| -rw-r--r-- | arch/x86/kvm/vmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 9bcc871f0635..feb852b04598 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
| @@ -2399,13 +2399,13 @@ static __init void nested_vmx_setup_ctls_msrs(void) | |||
| 2399 | nested_vmx_secondary_ctls_low = 0; | 2399 | nested_vmx_secondary_ctls_low = 0; |
| 2400 | nested_vmx_secondary_ctls_high &= | 2400 | nested_vmx_secondary_ctls_high &= |
| 2401 | SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES | | 2401 | SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES | |
| 2402 | SECONDARY_EXEC_UNRESTRICTED_GUEST | | ||
| 2403 | SECONDARY_EXEC_WBINVD_EXITING | | 2402 | SECONDARY_EXEC_WBINVD_EXITING | |
| 2404 | SECONDARY_EXEC_XSAVES; | 2403 | SECONDARY_EXEC_XSAVES; |
| 2405 | 2404 | ||
| 2406 | if (enable_ept) { | 2405 | if (enable_ept) { |
| 2407 | /* nested EPT: emulate EPT also to L1 */ | 2406 | /* nested EPT: emulate EPT also to L1 */ |
| 2408 | nested_vmx_secondary_ctls_high |= SECONDARY_EXEC_ENABLE_EPT; | 2407 | nested_vmx_secondary_ctls_high |= SECONDARY_EXEC_ENABLE_EPT | |
| 2408 | SECONDARY_EXEC_UNRESTRICTED_GUEST; | ||
| 2409 | nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT | | 2409 | nested_vmx_ept_caps = VMX_EPT_PAGE_WALK_4_BIT | |
| 2410 | VMX_EPTP_WB_BIT | VMX_EPT_2MB_PAGE_BIT | | 2410 | VMX_EPTP_WB_BIT | VMX_EPT_2MB_PAGE_BIT | |
| 2411 | VMX_EPT_INVEPT_BIT; | 2411 | VMX_EPT_INVEPT_BIT; |
