[PATCH 0/5] KVM: VMX: PT (processor trace) optimizations and fixes

From: Xiaoyao Li
Date: Tue Aug 24 2021 - 07:08:37 EST


Patch 1 and 2 are optimizations and cleanup.

Patch 3 - 5 are fixes for PT handling.

Xiaoyao Li (5):
KVM: VMX: Restore host's MSR_IA32_RTIT_CTL when it's not zero
KVM: VMX: Use cached vmx->pt_desc.addr_range
KVM: VMX: RTIT_CTL_BRANCH_EN has no dependency on other CPUID bit
KVM: VMX: Disallow PT MSRs accessing if PT is not exposed to guest
KVM: VMX: Check Intel PT related CPUID leaves

arch/x86/kvm/cpuid.c | 25 +++++++++++++++++++++++++
arch/x86/kvm/vmx/vmx.c | 34 +++++++++++++++++++++-------------
2 files changed, 46 insertions(+), 13 deletions(-)

--
2.27.0