Skip to content
Commit 48ce3ed0 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Add this_cpu_has() to query X86_FEATURE_* via cpuid()



Add this_cpu_has() to query an X86_FEATURE_* via cpuid(), i.e. to query a
feature from L1 (or L2) guest code.  Arbitrarily select the AMX test to
be the first user.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-33-seanjc@google.com
parent 8fe09d6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment