summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:57:07 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:58:43 +0100
commita50718cc3f43f12e6e33b098b5e2a9eb19f13158 (patch)
tree6d4cd9dad31fcba4575d551bf4c1fe64643ac4e4 /tools/perf/scripts/python/export-to-postgresql.py
parent91661989d17ccec17bca199e7cb1f463ba4e5b78 (diff)
KVM: nSVM: Expose SVM features to L1 iff nested is enabled
Set SVM feature bits in KVM capabilities if and only if nested=true, KVM shouldn't advertise features that realistically can't be used. Use kvm_cpu_cap_has(X86_FEATURE_SVM) to indirectly query "nested" in svm_set_supported_cpuid() in anticipation of moving CPUID 0x8000000A adjustments into common x86 code. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions