KVM: selftests: Use vcpu_clear_cpuid_feature() to clear x2APIC
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 20:06:54 +0000 (20:06 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:20 +0000 (18:14 -0700)
commit7ed5a54e8282edfb464ccce4d3cf3a6f1d79b14a
treee0b1722f93f35883e272d1abb0599717e5c990ac
parent4ee315231e3d7f85ab672fe231421614cad8f68d
KVM: selftests: Use vcpu_clear_cpuid_feature() to clear x2APIC

Add X86_FEATURE_X2APIC and use vcpu_clear_cpuid_feature() to clear x2APIC
support in the xAPIC state test.

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