linux/tools/testing/selftests/kvm/lib/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.c
handlers.S
hyperv.c
memstress.c
pmu.c
processor.c KVM: selftests: Verify KVM is loaded when getting a KVM module param 2025-06-20 13:39:10 -07:00
sev.c KVM: selftests: Add library support for interacting with SNP 2025-05-02 12:32:33 -07:00
svm.c
ucall.c
vmx.c