]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert triple_fault_event_test away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 1 Jun 2022 20:43:40 +0000 (13:43 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:47:08 +0000 (11:47 -0400)
commit88ce3028f6ab9fe2baeeef466c2c001a9a7e56ef
treed3a2765ba0bfe31974f5d4f5402453b8537ec29e
parent87cc9737e0b70345b97c34c2f9e9c74699fd55de
KVM: selftests: Convert triple_fault_event_test away from VCPU_ID

Convert triple_fault_event_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/triple_fault_event_test.c