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