KVM: selftests: Use this_cpu_has() in CR4/CPUID sync test

Use this_cpu_has() to query OSXSAVE from the L1 guest in the CR4=>CPUID
sync test.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-34-seanjc@google.com
This commit is contained in:
Sean Christopherson 2022-06-14 20:06:58 +00:00
commit 2b424a76d0
2 changed files with 2 additions and 15 deletions