diff options
author | Sean Christopherson <[email protected]> | 2021-05-04 10:17:20 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-05-07 06:06:15 -0400 |
commit | 8aec21c04caa2000f91cf8822ae0811e4b0c3971 (patch) | |
tree | 60f93738d8afd8818c2c47ed8646950b370acc69 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 809c79137a192d7e881a517f803ebbf96305f066 (diff) |
KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
Clear KVM's RDPID capability if the ENABLE_RDTSCP secondary exec control is
unsupported. Despite being enumerated in a separate CPUID flag, RDPID is
bundled under the same VMCS control as RDTSCP and will #UD in VMX non-root
if ENABLE_RDTSCP is not enabled.
Fixes: 41cd02c6f7f6 ("kvm: x86: Expose RDPID in KVM_GET_SUPPORTED_CPUID")
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Reviewed-by: Reiji Watanabe <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions