summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPaul Durrant <pdurrant@amazon.com>2024-02-15 18:29:09 +0300
committerSean Christopherson <seanjc@google.com>2024-02-22 18:01:18 +0300
commit9397b5334af1f4af37cf35b5c647f84a948e3110 (patch)
tree7bd696132690b5f9c62ab0c4452a66d25619e59a /lib/memory-notifier-error-inject.c
parent3991f35805d0f1ad84c3259dc1435021ccf63f16 (diff)
downloadlinux-9397b5334af1f4af37cf35b5c647f84a948e3110.tar.xz
KVM: selftests: map Xen's shared_info page using HVA rather than GFN
Using the HVA of the shared_info page is more efficient, so if the capability (KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA) is present use that method to do the mapping. NOTE: Have the juggle_shinfo_state() thread map and unmap using both GFN and HVA, to make sure the older mechanism is not broken. Signed-off-by: Paul Durrant <pdurrant@amazon.com> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Link: https://lore.kernel.org/r/20240215152916.1158-15-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