aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/kvm_binary_stats_test.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-02-16 13:38:12 -0800
committerPaolo Bonzini <[email protected]>2022-06-11 11:47:20 -0400
commitdf84cef531ca481cbc1dbce84eb13efc6623e4e1 (patch)
treee656506fe5de24adf6c96505c3f37bf8b8797d30 /tools/testing/selftests/kvm/kvm_binary_stats_test.c
parent376851f8953a28be237b0a99adef91f422fa8f19 (diff)
KVM: selftests: Stop conflating vCPU index and ID in perf tests
Track vCPUs by their 'struct kvm_vcpu' object, and stop assuming that a vCPU's ID is the same as its index when referencing a vCPU's metadata. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
0 files changed, 0 insertions, 0 deletions