diff options
author | 2023-04-10 08:50:16 -0400 | |
---|---|---|
committer | 2023-05-26 13:41:43 -0700 | |
commit | 334006b78ca84b7619d7dd313d5b6b39007e9528 (patch) | |
tree | 1c7f21d294646f24be8206fbf590c757b1d0bb1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (diff) | |
download | wireguard-linux-334006b78ca84b7619d7dd313d5b6b39007e9528.tar.xz wireguard-linux-334006b78ca84b7619d7dd313d5b6b39007e9528.zip |
KVM: VMX: Use kvm_read_cr4() to get cr4 value
Directly use vcpu->arch.cr4 is not recommended since it gets stale value
if the cr4 is not available.
Use kvm_read_cr4() instead to ensure correct value.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20230410125017.1305238-2-xiaoyao.li@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions