summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-02-28 03:41:32 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-05-07 17:59:16 +0200
commitd0bf8e6e440aef6a4fb7ef05671390529f447bb8 (patch)
tree9f600f18fd3b0d83672967ccb04c529b2f758339 /certs
parentMerge x86 bugfixes from Linux 6.9-rc3 (diff)
downloadlinux-d0bf8e6e440aef6a4fb7ef05671390529f447bb8.tar.xz
linux-d0bf8e6e440aef6a4fb7ef05671390529f447bb8.zip
KVM: x86/mmu: Exit to userspace with -EFAULT if private fault hits emulation
Exit to userspace with -EFAULT / KVM_EXIT_MEMORY_FAULT if a private fault triggers emulation of any kind, as KVM doesn't currently support emulating access to guest private memory. Practically speaking, private faults and emulation are already mutually exclusive, but there are many flow that can result in KVM returning RET_PF_EMULATE, and adding one last check to harden against weird, unexpected combinations and/or KVM bugs is inexpensive. Suggested-by: Yan Zhao <yan.y.zhao@intel.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-ID: <20240228024147.41573-2-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions