Re: [PATCH V2 0/5] KVM vPMU support for AMD

Wei Huang
2015-04-09T19:19:53Z

On 4/9/15 14:05, Radim Krčmář wrote:
> 2015-04-08 12:18-0400, Wei Huang:
>> Currently KVM only supports vPMU for Intel platforms. This patch set
>> enable vPMU support for AMD platform by creating a common PMU
>> interface for x86. The PMU calls from guest VMs are dispatched
>> to corresponding functions defined in arch specific files.
>>
>> V2:
>> * Create a generic pmu.c file which is shared by Intel and AMD CPUs;
>> * pmu.c code becomes part of kvm.ko module. Similarly pmu_intel.c and
>> pmu_amd.c are linked to kvm-intel.ko and kvm-amd.ko respectively;
>> * Re-define kvm_pmu_ops function pointers. Per Radim Krcmar's comments,
>> a large portion of Intel vPMU code are now consolidated and moved to
>> pmu.c;
>> * Polish pmu_amd.c code to comply with new definition of kvm_pmu_ops;
>
> It doesn't apply on top of current kvm queue, I'll have cosmetic change
> requests that would go well with a rebase.
Sorry about it. It was applied on top of Linux 4.0-rc6 (e42391cd04880).

-Wei
>