KVM: nVMX: Always handle #VEs in L0 (never forward #VEs from L2 to L1)
authorSean Christopherson <seanjc@google.com>
Sat, 18 May 2024 00:04:24 +0000 (17:04 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 May 2024 16:27:26 +0000 (12:27 -0400)
commit9031b42139b9d45ef806c9a7fee166c1b6443c3c
tree0b9e16de05c2c27ad6ab32bed02acd0f68daa702
parentd1b32ecdc8ad0346ac551866d9f6831995fd70de
KVM: nVMX: Always handle #VEs in L0 (never forward #VEs from L2 to L1)

Always handle #VEs, e.g. due to prove EPT Violation #VE failures, in L0,
as KVM does not expose any #VE capabilities to L1, i.e. any and all #VEs
are KVM's responsibility.

Fixes: 8131cf5b4fd8 ("KVM: VMX: Introduce test mode related to EPT violation VE")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20240518000430.1118488-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c