]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert vmx_exception_with_invalid_guest_state away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 00:44:36 +0000 (16:44 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:49 +0000 (11:46 -0400)
commit947bd2b898d4c541f9355b1b9594e3ae8d3c3595
tree37fc2514bcf8597d1c75ffb3d8e76668f4a04622
parent3e931b6553f23f243251436e90b1a80312eecec4
KVM: selftests: Convert vmx_exception_with_invalid_guest_state away from VCPU_ID

Convert vmx_exception_with_invalid_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_exception_with_invalid_guest_state.c