]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a65fb3cb5e52df4fd8fb7f752a9537ba92b5d5c
treee0b1722f93f35883e272d1abb0599717e5c990ac
parentc378552e5055a14f576a3da0e51786a8c96c5bbc
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