diff options
author | Sean Christopherson <seanjc@google.com> | 2022-02-16 13:38:12 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-11 11:47:20 -0400 |
commit | df84cef531ca481cbc1dbce84eb13efc6623e4e1 (patch) | |
tree | e656506fe5de24adf6c96505c3f37bf8b8797d30 /tools/testing/selftests/kvm/kvm_binary_stats_test.c | |
parent | 376851f8953a28be237b0a99adef91f422fa8f19 (diff) | |
download | linux-df84cef531ca481cbc1dbce84eb13efc6623e4e1.tar.bz2 |
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 <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/kvm_binary_stats_test.c')
0 files changed, 0 insertions, 0 deletions