Skip to content
Commit 05c2b6e5 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Use this_cpu_has() to detect SVM support in L1



Replace an evil open coded instance of querying CPUID from L1 with
this_cpu_has(X86_FEATURE_SVM).

No functional change intended.

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