KVM: selftests: Use vcpu_{set,clear}_cpuid_feature() in nVMX state test
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:53 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:19 +0000 (18:14 -0700)
commit4ee315231e3d7f85ab672fe231421614cad8f68d
treed383764ca7bed118485e90d774393f7a432f5c14
parent49f6876a2e1e7e8a4dc3f2b27f720502d62e4804
KVM: selftests: Use vcpu_{set,clear}_cpuid_feature() in nVMX state test

Use vcpu_{set,clear}_cpuid_feature() to toggle nested VMX support in the
vCPU CPUID module in the nVMX state test.  Drop CPUID_VMX as there are
no longer any users.

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