diff options
author | Sean Christopherson <seanjc@google.com> | 2024-05-17 17:04:27 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-23 12:28:45 -0400 |
commit | bca99c0356524a620126b789edbaf25934415467 (patch) | |
tree | cc3da88b177b8fd7a9e8bdb91ae362560f9fde62 /arch/x86/kvm/mmu.h | |
parent | 743f1773366461cb44de297b1caf0a4292eb8fda (diff) |
KVM: x86/mmu: Print SPTEs on unexpected #VE
Print the SPTEs that correspond to the faulting GPA on an unexpected EPT
Violation #VE to help the user debug failures, e.g. to pinpoint which SPTE
didn't have SUPPRESS_VE set.
Opportunistically assert that the underlying exit reason was indeed an EPT
Violation, as the CPU has *really* gone off the rails if a #VE occurs due
to a completely unexpected exit reason.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20240518000430.1118488-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.h')
0 files changed, 0 insertions, 0 deletions