diff options
| author | David Matlack <[email protected]> | 2022-09-21 10:35:42 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-27 06:02:59 -0500 |
| commit | f09948ec1ff3063b0722ef15195da3beca2d57c6 (patch) | |
| tree | 9ef377413971ad97d69cdb53dcb5d0d78d926ab0 /tools/perf/scripts/python | |
| parent | 897e4526e5e002818840e38d72e0585c45533fe8 (diff) | |
KVM: x86/mmu: Handle no-slot faults in kvm_faultin_pfn()
Handle faults on GFNs that do not have a backing memslot in
kvm_faultin_pfn() and drop handle_abnormal_pfn(). This eliminates
duplicate code in the various page fault handlers.
Opportunistically tweak the comment about handling gfn > host.MAXPHYADDR
to reflect that the effect of returning RET_PF_EMULATE at that point is
to avoid creating an MMIO SPTE for such GFNs.
No functional change intended.
Signed-off-by: David Matlack <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions