]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert vmx_invalid_nested_guest_state away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 01:30:35 +0000 (17:30 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:56 +0000 (11:46 -0400)
commit2eaf19258794a570548ee92822e179c9efcb9e45
treec1764a2f3cda86f12f669e4593bebc154687f645
parent8ba3265258ac2b6478e5a2daad585ecffcf32671
KVM: selftests: Convert vmx_invalid_nested_guest_state away from VCPU_ID

Convert vmx_invalid_nested_guest_state to use vm_create_with_one_vcpu() and
pass around a 'struct kvm_vcpu' object instead of using a global VCPU_ID.

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