KVM: selftests: Convert hardware_disable_test to pass around vCPU objects
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 19:15:08 +0000 (11:15 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:06 +0000 (11:47 -0400)
commit0750388ca7110d332547f3669715442eac6a1254
treeb52f9fe158f826c6f49624a1ef23216cc5dac04b
parentb093da659f3d0ff291fcd6373090ba17cf183253
KVM: selftests: Convert hardware_disable_test to pass around vCPU objects

Pass around 'struct kvm_vcpu' objects in hardware_disable_test instead of
the VM+vcpu_id (called "index" by the test).

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