diff options
| author | David Matlack <[email protected]> | 2022-11-16 12:42:28 -0800 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2022-11-16 16:59:07 -0800 |
| commit | ecb89a51724b3cd89c13ba7364e82f9879b68dcf (patch) | |
| tree | 5fff076fdca43ebb3ff8c7497cf77e4cf25a815b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b941ba2380ccf51e048dc58ff0e6bdf11828f6d9 (diff) | |
KVM: selftests: Check for KVM nEPT support using "feature" MSRs
When checking for nEPT support in KVM, use kvm_get_feature_msr() instead
of vcpu_get_msr() to retrieve KVM's default TRUE_PROCBASED_CTLS and
PROCBASED_CTLS2 MSR values, i.e. don't require a VM+vCPU to query nEPT
support.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: David Matlack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: rebase on merged code, write changelog]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions