diff options
author | Sean Christopherson <[email protected]> | 2024-02-27 18:41:42 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-05-07 11:59:21 -0400 |
commit | bde9f9d27e2b87eaeaaa1f87b5e04272aae89a13 (patch) | |
tree | 87bda8da84494075e02949a27609ab49bc77986b /include/linux/overflow.h | |
parent | 5bd74f6eecd5d04b0dd9a584286bdb385c604ade (diff) |
KVM: x86/mmu: Explicitly disallow private accesses to emulated MMIO
Explicitly detect and disallow private accesses to emulated MMIO in
kvm_handle_noslot_fault() instead of relying on kvm_faultin_pfn_private()
to perform the check. This will allow the page fault path to go straight
to kvm_handle_noslot_fault() without bouncing through __kvm_faultin_pfn().
Signed-off-by: Sean Christopherson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions