]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc378552e5055a14f576a3da0e51786a8c96c5bbc
treed383764ca7bed118485e90d774393f7a432f5c14
parente2f772946a189c30801ac34dd4f894bc09c10d6b
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