linux/tools/testing/selftests/kvm/include/x86
Sean Christopherson fcab107abe KVM: selftests: Verify KVM is loaded when getting a KVM module param
Probe /dev/kvm when getting a KVM module param so that attempting to load
a module param super early in a selftest generates a SKIP message about
KVM not being loaded/enabled, versus some random parameter not existing.

E.g. KVM x86's unconditional retrieval of force_emulation_prefix during
kvm_selftest_arch_init() generates a rather confusing error message that
takes far too much triage to understand.

Link: https://lore.kernel.org/r/20250516215909.2551628-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2025-06-20 13:39:10 -07:00
..
apic.h
evmcs.h
hyperv.h
kvm_util_arch.h
mce.h
pmu.h
processor.h KVM: selftests: Verify KVM is loaded when getting a KVM module param 2025-06-20 13:39:10 -07:00
sev.h KVM: selftests: Add library support for interacting with SNP 2025-05-02 12:32:33 -07:00
svm.h
svm_util.h
ucall.h
vmx.h