aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-03-21 18:14:38 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2023-04-06 13:37:36 -0400
commit903358c7eddb9a8a83013f967909805e6af050d4 (patch)
tree922d0a6222910c5c5eeff0f4bf48978c2b25d1b5 /tools/perf/scripts/python/export-to-postgresql.py
parentKVM: SVM: Passthrough MSR_IA32_PRED_CMD based purely on host+guest CPUID (diff)
downloadlinux-rng-903358c7eddb9a8a83013f967909805e6af050d4.tar.xz
linux-rng-903358c7eddb9a8a83013f967909805e6af050d4.zip
KVM: x86: Move MSR_IA32_PRED_CMD WRMSR emulation to common code
Dedup the handling of MSR_IA32_PRED_CMD across VMX and SVM by moving the logic to kvm_set_msr_common(). Now that the MSR interception toggling is handled as part of setting guest CPUID, the VMX and SVM paths are identical. Opportunistically massage the code to make it a wee bit denser. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-Id: <20230322011440.2195485-5-seanjc@google.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