diff options
author | David Matlack <[email protected]> | 2022-09-21 10:35:42 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-12-29 15:33:21 -0500 |
commit | 354c908c068ec0a21850aef5dbf6b8331434a2e9 (patch) | |
tree | 0f72b5693d3c7e308df2e12b3eba0476c963813c /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
parent | cd08d178ff45d6564e782a3d005922ed439bd77f (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/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions