Messages in this thread | | | Date | Wed, 24 Jan 2024 00:38:55 +0000 | Subject | [PATCH 0/2] minor fix on perf_capabilities in KVM/x86 | From | Mingwei Zhang <> |
| |
This simple series fixes the value setup for vcpu->arch.perf_capabilities to fix an issue in live migration and remove an inline helper in Intel pmu specific PMU code to make the code simple.
Mingwei Zhang (2): KVM: x86/pmu: Reset perf_capabilities in vcpu to 0 if PDCM is disabled KVM: x86/pmu: Remove vcpu_get_perf_capabilities()
arch/x86/kvm/cpuid.c | 3 +++ arch/x86/kvm/vmx/pmu_intel.c | 16 ++++------------ 2 files changed, 7 insertions(+), 12 deletions(-)
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d -- 2.43.0.429.g432eaa2c6b-goog
| |