KVM: selftests: Convert kvm_binary_stats_test away from vCPU IDs
authorSean Christopherson <seanjc@google.com>
Thu, 17 Feb 2022 00:16:32 +0000 (16:16 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:17 +0000 (11:47 -0400)
commite813129a3dea6588e57ebfebae75cef6946a89d1
tree10871b75fb13911975ca13d7f1d0e87e80bf87f1
parent0f678e732099f1cd9b42461708374e14cc63847f
KVM: selftests: Convert kvm_binary_stats_test away from vCPU IDs

Track vCPUs by their 'struct kvm_vcpu' object in kvm_binary_stats_test,
not by their ID.  The per-vCPU helpers will soon take a vCPU instead of a
VM+vcpu_id pair.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_binary_stats_test.c