KVM: selftests: Capture per-vCPU GPA in perf_test_vcpu_args
authorSean Christopherson <seanjc@google.com>
Thu, 11 Nov 2021 00:03:04 +0000 (00:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Nov 2021 12:43:26 +0000 (07:43 -0500)
commit613d61182fffca6b36ea0df1e44927ccf45b1e9b
tree01429d88faec181178ca53b8aad79a5bcb0d612e
parentb65e1051e489be4fe783cb14f1cd33235a0f9803
KVM: selftests: Capture per-vCPU GPA in perf_test_vcpu_args

Capture the per-vCPU GPA in perf_test_vcpu_args so that tests can get
the GPA without having to calculate the GPA on their own.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20211111000310.1435032-7-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/include/perf_test_util.h
tools/testing/selftests/kvm/lib/perf_test_util.c