summaryrefslogtreecommitdiff
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-10 01:17:00 +0300
committerSean Christopherson <seanjc@google.com>2024-04-09 20:24:36 +0300
commit23ffe4bbf807c34cd5374f3e53196ccc459707f4 (patch)
tree00b6aeb1816d8f4e9c52feef10ddd3b34caa80c0 /arch/x86/include
parenta9466078687fb740298a52a095ee4832738efbea (diff)
downloadlinux-23ffe4bbf807c34cd5374f3e53196ccc459707f4.tar.xz
KVM: nVMX: Add a sanity check that nested PML Full stems from EPT Violations
Add a WARN_ON_ONCE() sanity check to verify that a nested PML Full VM-Exit is only synthesized when the original VM-Exit from L2 was an EPT Violation. While KVM can fallthrough to kvm_mmu_do_page_fault() if an EPT Misconfig occurs on a stale MMIO SPTE, KVM should not treat the access as a write (there isn't enough information to know *what* the access was), i.e. KVM should never try to insert a PML entry in that case. Link: https://lore.kernel.org/r/20240209221700.393189-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions