]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert svm_nested_soft_inject_test away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 1 Jun 2022 20:41:09 +0000 (13:41 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:08 +0000 (11:47 -0400)
commit87cc9737e0b70345b97c34c2f9e9c74699fd55de
treea4a0e9539cbe1ee254d13fe8bfec94bde8728e30
parentcaf28e98d03f50f598e16f2246c2eadb7fc77109
KVM: selftests: Convert svm_nested_soft_inject_test away from VCPU_ID

Convert svm_nested_soft_inject_test to use vm_create_with_one_vcpu() and
pull the vCPU's ID from 'struct kvm_vcpu'.

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