KVM: selftests: Use kvm_cpu_has() for nested SVM checks

Use kvm_cpu_has() to check for nested SVM support, and drop the helpers
now that their functionality is trivial to implement.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-6-seanjc@google.com
This commit is contained in:
Sean Christopherson 2022-06-14 20:06:30 +00:00
commit f21940a3bb
8 changed files with 6 additions and 21 deletions