]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Use vm_create_without_vcpus() in hardware_disable_test
authorSean Christopherson <seanjc@google.com>
Mon, 18 Apr 2022 20:16:32 +0000 (13:16 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:32 +0000 (11:46 -0400)
commit8416c5c3207390e1241bed77d365c7c9f21d5b9c
tree596a2362e2c7c345d89284d5b74728f0c4f2d538
parentcfcde4be9924d9cbce9b4ace212d715f2c62edbf
KVM: selftests: Use vm_create_without_vcpus() in hardware_disable_test

Use vm_create_without_vcpus() instead of open coding a rough equivalent
in hardware_disable_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