]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5740192b2a6ba4aa8c3a752af2335a50e0ef1a3a
tree10871b75fb13911975ca13d7f1d0e87e80bf87f1
parent6e90bce24c38ffeef7277750fb1f4c66643a37fe
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