]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: Convert hyperv_cpuid away from VCPU_ID
authorSean Christopherson <seanjc@google.com>
Wed, 16 Feb 2022 00:08:48 +0000 (16:08 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Jun 2022 15:46:44 +0000 (11:46 -0400)
commite1582edaf62812c3e121debca3e8f815e75b7a04
treecbbf6525b810616c5b16d590582ee71006376abd
parent88484b1380e199309005712bbf0dd7290c2e8912
KVM: selftests: Convert hyperv_cpuid away from VCPU_ID

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