]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Don't bother mapping GVA for Xen shinfo test
authorSean Christopherson <seanjc@google.com>
Wed, 10 Feb 2021 18:26:08 +0000 (10:26 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Feb 2021 13:02:49 +0000 (08:02 -0500)
commit1050c60a44d8e46a7d0634f57881ab7d0be7489f
tree997b6d37a73f6b665e9ced035c81b0096ed75545
parentf4e0826221720f1305f0bdc9701990ed8ac02d05
KVM: selftests: Don't bother mapping GVA for Xen shinfo test

Don't bother mapping the Xen shinfo pages into the guest, they don't need
to be accessed using the GVAs and passing a define with "GPA" in the name
to addr_gva2hpa() is confusing.

Cc: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210210182609.435200-5-seanjc@google.com>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c