diff options
author | 2020-03-17 12:53:53 -0700 | |
---|---|---|
committer | 2020-03-18 13:44:18 +0100 | |
commit | e7adda281063becab7631c6ac60f8b19684ba042 (patch) | |
tree | f9c1289722552c936b8c840770f685a63a52eefb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nSVM: check for EFER.SVME=1 before entering guest (diff) | |
download | linux-dev-e7adda281063becab7631c6ac60f8b19684ba042.tar.xz linux-dev-e7adda281063becab7631c6ac60f8b19684ba042.zip |
KVM: x86: Add requested index to the CPUID tracepoint
Output the requested index when tracing CPUID emulation; it's basically
mandatory for leafs where the index is meaningful, and is helpful for
verifying KVM correctness even when the index isn't meaningful, e.g. the
trace for a Linux guest's hypervisor_cpuid_base() probing appears to
be broken (returns all zeroes) at first glance, but is correct because
the index is non-zero, i.e. the output values correspond to a random
index in the maximum basic leaf.
Suggested-by: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: Jan Kiszka <jan.kiszka@siemens.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