Re: [PATCH v2] KVM: x86/pmu: Support full width counting

From: Paolo Bonzini
Date: Fri May 08 2020 - 05:52:34 EST


On 08/05/20 10:42, Xu, Like wrote:
>> Given the bugs, it is clear that you should also modify the pmu.c
>> testcase for kvm-unit-tests to cover full-width writes (and especially
>> the non-full-width write behavior of MSR_IA32_PERFCTRn). Even before
>> the QEMU side is begin worked on, you can test it with "-cpu
>> host,migratable=off".
>
> Sure, I added some testcases in pmu.c to cover this feature.
>
> Please review the v3 patch
> https://lore.kernel.org/kvm/20200508083218.120559-1-like.xu@xxxxxxxxxxxxxxx/
>
> as well as the kvm-unit-tests testcase.

Awesome, thanks for the quick reply!

Paolo