diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-02-07 09:42:44 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-22 13:43:15 -0400 |
commit | a434c431d8eb20f9363a8d74e91f21a8faf13e0f (patch) | |
tree | f0edb589f0607ded8bd02ae6be8d49a365111396 | |
parent | 0f54d5d6bd6a713f696c33050353b81ba7971360 (diff) | |
download | kvm-unit-tests-a434c431d8eb20f9363a8d74e91f21a8faf13e0f.tar.gz |
nVMX: Extend EPT cap MSR test to allow 5-level EPT
Modify the EMSR_IA32_VMX_EPT_VPID_CAP test to mark the 5-level EPT cap
bit as allowed-1. KVM is in the process of gaining support for 5-level
nested EPT[*].
[*] https://lkml.kernel.org/r/20200206220836.22743-1-sean.j.christopherson@intel.com
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200207174244.6590-5-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | x86/vmx.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1677,6 +1677,7 @@ static void test_vmx_caps(void) fixed0 = -1ull; fixed0 &= ~(EPT_CAP_WT | EPT_CAP_PWL4 | + EPT_CAP_PWL5 | EPT_CAP_UC | EPT_CAP_WB | EPT_CAP_2M_PAGE | |