aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-02-16 20:38:26 +0000
committerPaolo Bonzini <[email protected]>2022-06-11 15:47:12 +0000
commit371dfb2e90d942fb651c324505bc4929447b081b (patch)
tree9e0b7d6b3b003b9e03c2b75cae08aa07ec302f29 /tools/testing/selftests/kvm/lib/perf_test_util.c
parentKVM: selftests: Convert sync_regs_test away from VCPU_ID (diff)
downloadkernel-371dfb2e90d942fb651c324505bc4929447b081b.tar.gz
kernel-371dfb2e90d942fb651c324505bc4929447b081b.zip
KVM: selftests: Convert s390's "resets" test away from VCPU_ID
Pass around a 'struct kvm_vcpu' object in the "resets" test instead of referencing the vCPU by the global VCPU_ID. Rename the #define for the vCPU's ID to ARBITRARY_NON_ZERO_VCPU_ID to make it more obvious that (a) the value matters but (b) is otherwise arbitrary. 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