KVM: selftests: Use vCPU's CPUID directly in Hyper-V test
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:51 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:18 +0000 (18:14 -0700)
commit4dcd130c9b3d64464b5c44aba071203095f77e63
treee3af287190a6b027bf97267912c22b02fc0142be
parent3a5d36b32bd26d88d8dfe8f1eff702e138ea18cd
KVM: selftests: Use vCPU's CPUID directly in Hyper-V test

Use the vCPU's persistent CPUID array directly when manipulating the set
of exposed Hyper-V CPUID features.  Drop set_cpuid() to route all future
modification through the vCPU helpers; the Hyper-V features test was the
last user.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-27-seanjc@google.com
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/lib/x86_64/processor.c
tools/testing/selftests/kvm/x86_64/hyperv_features.c