summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-01-10 02:02:42 +0300
committerSean Christopherson <seanjc@google.com>2024-01-31 02:29:41 +0300
commitc85e986716b03bccfec2e5a577cc1aab4f172ffd (patch)
tree304b566b875332d3521a8bafd03e0d08e5c0a4a2 /tools/testing/selftests/kvm/lib
parentb55e7adf633a8a13d5ede57b77509ea8fa157a56 (diff)
downloadlinux-c85e986716b03bccfec2e5a577cc1aab4f172ffd.tar.xz
KVM: selftests: Add a helper to query if the PMU module param is enabled
Add a helper to probe KVM's "enable_pmu" param, open coding strings in multiple places is just asking for false negatives and/or runtime errors due to typos. Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Link: https://lore.kernel.org/r/20240109230250.424295-23-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib')
0 files changed, 0 insertions, 0 deletions