Re: [PATCH V7 00/18] KVM: x86/pmu: Add *basic* support to enable guest PEBS via DS

From: Like Xu
Date: Mon Jul 12 2021 - 06:34:39 EST


On 12/7/2021 9:37 am, Liuxiangdong wrote:
Hi, Lingshan.

We can use basic pebs for KVM Guest on ICX by this patches set. Will we consider supporting "perf mem" for KVM Guest?


I suggest we can enable more advanced PEBS features
after the basic support hits the mainline.

AFAIK, the load latency facility requires processor supporting PEBS. Besides, it needs MSR_PEBS_LD_LAT_THRESHOLD
msr (3F6H) to specify the desired latency threshold. How about passthrough this msr to Guest?

Thanks!
Xiangdong Liu