Sean Christopherson c85e986716 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>
2024-01-30 15:29:41 -08:00
..
2023-08-24 10:41:47 -04:00
2024-01-08 10:57:34 -08:00
2024-01-18 14:35:29 -08:00
2023-06-29 10:11:10 -07:00
2024-01-12 14:45:13 -08:00
2023-02-23 09:37:29 -08:00
2023-11-01 17:08:10 -10:00
2023-10-15 20:07:52 +01:00
2023-04-25 11:05:04 -07:00
2023-10-05 14:22:53 -06:00
2023-11-03 07:41:18 -10:00
2023-08-21 13:46:25 -07:00
2024-01-11 10:07:29 -08:00