]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc981a09cb0bcee0ad0228a91706c2306077d27
treeb52f9fe158f826c6f49624a1ef23216cc5dac04b
parenta45e1ded7d4aa3cdd22300384ff1662c3f749112
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