diff options
author | Sean Christopherson <seanjc@google.com> | 2021-11-11 00:03:04 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-16 07:43:26 -0500 |
commit | 613d61182fffca6b36ea0df1e44927ccf45b1e9b (patch) | |
tree | 01429d88faec181178ca53b8aad79a5bcb0d612e /tools/testing/selftests/kvm/include/perf_test_util.h | |
parent | KVM: selftests: Use shorthand local var to access struct perf_tests_args (diff) | |
download | linux-dev-613d61182fffca6b36ea0df1e44927ccf45b1e9b.tar.xz linux-dev-613d61182fffca6b36ea0df1e44927ccf45b1e9b.zip |
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>
Diffstat (limited to 'tools/testing/selftests/kvm/include/perf_test_util.h')
-rw-r--r-- | tools/testing/selftests/kvm/include/perf_test_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/include/perf_test_util.h b/tools/testing/selftests/kvm/include/perf_test_util.h index df9f1a3a3ffb..20aec72fe7b8 100644 --- a/tools/testing/selftests/kvm/include/perf_test_util.h +++ b/tools/testing/selftests/kvm/include/perf_test_util.h @@ -18,6 +18,7 @@ #define PERF_TEST_MEM_SLOT_INDEX 1 struct perf_test_vcpu_args { + uint64_t gpa; uint64_t gva; uint64_t pages; |