diff options
| author | 2022-06-14 20:06:57 +0000 | |
|---|---|---|
| committer | 2022-07-13 18:14:21 -0700 | |
| commit | 48ce3ed052e8336a17c64ca1787648d9e17c54d9 (patch) | |
| tree | c64d956e7c919eede9a5e890634533b08297c36a /virt/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: selftests: Set input function/index in raw CPUID helper(s) (diff) | |
| download | linux-dev-48ce3ed052e8336a17c64ca1787648d9e17c54d9.tar.xz linux-dev-48ce3ed052e8336a17c64ca1787648d9e17c54d9.zip | |
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: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-33-seanjc@google.com
Diffstat (limited to 'virt/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
