]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert rseq_test away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Tue, 15 Feb 2022 21:36:46 +0000 (13:36 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:38 +0000 (11:46 -0400)
commit6fe9f97dfe52bf08058f99db29da5d29d611bd6d
tree4747d4234d6dd2a810b29a9227f79e275fd14c45
parentae0718c25c0d23c4af2bc82e9ae12a1893499f8c
KVM: selftests: Convert rseq_test away from VCPU_ID

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