diff options
author | David Matlack <dmatlack@google.com> | 2022-09-21 20:35:40 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 23:33:19 +0300 |
commit | 56c3a4e4a2d5ef36ac12156e9d4d793e2841135c (patch) | |
tree | d413dee6704736aeedf3be4c337fdde96681590f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ba6e3fe255439fd401a8d5487ad7c030db14afa8 (diff) | |
download | linux-56c3a4e4a2d5ef36ac12156e9d4d793e2841135c.tar.xz |
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 <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220921173546.2674386-5-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions