diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-10 02:42:35 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-17 20:09:54 +0300 |
commit | c5ffd408cdc951ba153aea267d96d7cc62c6a97c (patch) | |
tree | 52701249eb9934062262bd24aa28c2d82e5fa5e9 /arch/x86/kvm/lapic.c | |
parent | 546e8398bc0c7f75f696a24a997d2befeb632154 (diff) | |
download | linux-c5ffd408cdc951ba153aea267d96d7cc62c6a97c.tar.xz |
KVM: nVMX: Drop redundant checks on vmcs12 in EPTP switching emulation
Drop the explicit check on EPTP switching being enabled. The EPTP
switching check is handled in the generic VMFUNC function check, while
the underlying VMFUNC enablement check is done by hardware and redone
by generic VMFUNC emulation.
The vmcs12 EPT check is handled by KVM at VM-Enter in the form of a
consistency check, keep it but add a WARN.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210609234235.1244004-16-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions