diff options
| author | David Matlack <[email protected]> | 2022-09-21 10:35:40 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-27 06:02:58 -0500 |
| commit | 7bd9645348ca865408b8c50491d605da1dfa05e3 (patch) | |
| tree | 11bb9c5483eeb946d80d402fd487b8b3c05f25c6 /tools/perf/scripts/python | |
| parent | 90c54c19f8021d9d284055dc246d605b559cdc22 (diff) | |
KVM: x86/mmu: Handle error PFNs in kvm_faultin_pfn()
Handle error PFNs in kvm_faultin_pfn() rather than relying on the caller
to invoke handle_abnormal_pfn() after kvm_faultin_pfn().
Opportunistically rename kvm_handle_bad_page() to kvm_handle_error_pfn()
to make it more consistent with is_error_pfn().
This commit moves KVM closer to being able to drop
handle_abnormal_pfn(), which will reduce the amount of duplicate code in
the various page fault handlers.
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