linux_dsm_epyc7002/arch/x86/kvm/vmx
Sean Christopherson 148d735eb5 KVM: nVMX: Use correct root level for nested EPT shadow page tables
Hardcode the EPT page-walk level for L2 to be 4 levels, as KVM's MMU
currently also hardcodes the page walk level for nested EPT to be 4
levels.  The L2 guest is all but guaranteed to soft hang on its first
instruction when L1 is using EPT, as KVM will construct 4-level page
tables and then tell hardware to use 5-level page tables.

Fixes: 855feb6736 ("KVM: MMU: Add 5 level EPT & Shadow page table support.")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-12 20:09:43 +01:00
..
capabilities.h kvm/svm: PKU not currently supported 2020-01-27 19:59:35 +01:00
evmcs.c x86/kvm/hyper-v: don't allow to turn on unsupported VMX controls for nested guests 2020-02-05 15:55:26 +01:00
evmcs.h x86/kvm/hyper-v: don't allow to turn on unsupported VMX controls for nested guests 2020-02-05 15:55:26 +01:00
nested.c KVM: nVMX: Fix some comment typos and coding style 2020-02-12 20:09:43 +01:00
nested.h Merge branch 'kvm-tsx-ctrl' into HEAD 2019-11-21 12:03:40 +01:00
ops.h
pmu_intel.c KVM: x86: Fix perfctr WRMSR for running counters 2020-02-05 16:01:15 +01:00
vmcs12.c
vmcs12.h
vmcs_shadow_fields.h KVM: Fix some out-dated function names in comment 2020-01-21 13:57:27 +01:00
vmcs.h
vmenter.S x86/asm: Change all ENTRY+ENDPROC to SYM_FUNC_* 2019-10-18 11:58:33 +02:00
vmx.c KVM: nVMX: Use correct root level for nested EPT shadow page tables 2020-02-12 20:09:43 +01:00
vmx.h x86/msr-index: Clean up bit defines for IA32_FEATURE_CONTROL MSR 2020-01-13 17:23:08 +01:00