Skip to content
Commit 0326cc6b authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: selftests: Query module param to detect FEP in MSR filtering test



Add a helper to detect KVM support for forced emulation by querying the
module param, and use the helper to detect support for the MSR filtering
test instead of throwing a noodle/NOP at KVM to see if it sticks.

Cc: Aaron Lewis <aaronlewis@google.com>
Tested-by: default avatarDapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20240109230250.424295-25-seanjc@google.com
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 45e4755c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment