Re: [PATCH] kvm: x86: limit the maximum number of vPMU fixed counters to 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020/7/8 19:09, Paolo Bonzini wrote:
On 08/07/20 09:51, Xu, Like wrote:
Kindly ping.

I think we may need this patch, as we limit the maximum vPMU version to 2:
     eax.split.version_id = min(cap.version, 2);
I don't think this is a problem.  Are you planning to add support for
the fourth counter?
Yes, we plan to provide this support on the KVM after fully enabling the fourth
counter (and an accompanying special counter) on the host perf side.

This may require one or two kernel cycles, so I have to prevent it from
being exposed to non-linux guest with this fix. Thanks for your support.

Thanks,
Like Xu

Paolo





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux