Re: [PATCH] KVM: x86/svm: Add module param to control PMU virtualization

From: Paolo Bonzini
Date: Mon Jan 17 2022 - 03:36:47 EST


On 1/17/22 03:33, Like Xu wrote:


Whoops! The global 'pmu' is hidden by a local 'pmu' in get_gp_pmc_amd().

Indeed, I wonder if Poalo would like to take a look at this fix:
https://lore.kernel.org/kvm/20220113035324.59572-1-likexu@xxxxxxxxxxx/

Yes, my mistake.

Paolo