diff options
author | Sean Christopherson <seanjc@google.com> | 2022-06-14 20:06:39 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-07-13 18:14:13 -0700 |
commit | 601c067f381532105d01db9257b69eb9cfa8945e (patch) | |
tree | 4f328fd39a559230d2c04584e1433394c91109ef /kernel | |
parent | b046f4ee9cb60da285e1d45a1fe8dc6bb5fc446e (diff) |
KVM: selftests: Use kvm_cpu_has() for KVM's PV steal time
Use kvm_cpu_has() in the stea-ltime test instead of open coding
equivalent functionality using kvm_get_supported_cpuid_entry().
Opportunistically define all of KVM's paravirt CPUID-based features.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-15-seanjc@google.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions