Thanks Like. I just sent a new v6 series with these minor merge conflicts resolved. Dave On Wed, Feb 9, 2022 at 2:33 AM Like Xu <like.xu.linux@xxxxxxxxx> wrote: > > cc LKML and full list of KVM reviewers. > > On 25/1/2022 2:39 am, Jim Mattson wrote: > > On Sun, Jan 23, 2022 at 10:45 AM David Dunn <daviddunn@xxxxxxxxxx> wrote: > >> > >> KVM_CAP_PMU_DISABLE is used to disable PMU virtualization on individual > >> x86 VMs. PMU configuration must be done prior to creating VCPUs. > >> > >> To enable future extension, KVM_CAP_PMU_CAPABILITY reports available > >> settings via bitmask when queried via check_extension. > >> > >> For VMs that have PMU virtualization disabled, usermode will need to > >> clear CPUID leaf 0xA to notify guests. > >> > >> Signed-off-by: David Dunn <daviddunn@xxxxxxxxxx> > > > > Nit: The two references to CPUID leaf 0xA should be qualified as > > applying only to Intel VMs. > > > > Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx> > > > > Nit: It looks like we already have "#define KVM_CAP_SYS_ATTRIBUTES 209". > > Hope it helps a little: > > Reviewed-by: Like Xu <likexu@xxxxxxxxxxx>