diff options
author | Sean Christopherson <seanjc@google.com> | 2024-02-15 18:29:03 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-02-20 18:37:45 +0300 |
commit | 9e7325acb3dc8df8a6370ebc18aef107aae17ef0 (patch) | |
tree | bf4788b339005f914c08dcc6bb0006d11fad6a94 /lib/memory-notifier-error-inject.c | |
parent | 406c10962a4cbb1e04aa7993ea466db1a4533ae4 (diff) | |
download | linux-9e7325acb3dc8df8a6370ebc18aef107aae17ef0.tar.xz |
KVM: s390: Refactor kvm_is_error_gpa() into kvm_is_gpa_in_memslot()
Rename kvm_is_error_gpa() to kvm_is_gpa_in_memslot() and invert the
polarity accordingly in order to (a) free up kvm_is_error_gpa() to match
with kvm_is_error_{hva,page}(), and (b) to make it more obvious that the
helper is doing a memslot lookup, i.e. not simply checking for INVALID_GPA.
No functional change intended.
Link: https://lore.kernel.org/r/20240215152916.1158-9-paul@xen.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions