diff options
| author | Sean Christopherson <[email protected]> | 2022-02-16 20:39:34 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-11 15:47:13 +0000 |
| commit | 5241904f2eb6289dd1e7f7c80f612016afcb00cd (patch) | |
| tree | fffe2047c13c7cafa5cf3dd8e41c2a65a4706ad2 /tools/testing/selftests/kvm/lib/perf_test_util.c | |
| parent | KVM: selftests: Convert s390's "resets" test away from VCPU_ID (diff) | |
| download | kernel-5241904f2eb6289dd1e7f7c80f612016afcb00cd.tar.gz kernel-5241904f2eb6289dd1e7f7c80f612016afcb00cd.zip | |
KVM: selftests: Convert memop away from VCPU_ID
Pass around a 'struct kvm_vcpu' object instead of a vCPU ID in s390's
memop test. Pass NULL for the vCPU instead of a magic '-1' ID to
indicate that an ioctl/test should be done at VM scope.
Rename "struct test_vcpu vcpu" to "struct test_info info" in order to
avoid naming collisions (this is the bulk of the diff :-( ).
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions
