Re: [PATCH v4 32/38] KVM: nVMX: Add nested virtualization support for mediated PMU

2025-05-18 Thread Mi, Dapeng
On 5/16/2025 9:33 PM, Sean Christopherson wrote: > This shortlog is unnecessarily confusing. It reads as if supported for > running > L2 in a vCPU with a mediated PMU is somehow lacking. > > On Mon, Mar 24, 2025, Mingwei Zhang wrote: >> Add nested virtualization support for mediated PMU by comb

Re: [PATCH v4 32/38] KVM: nVMX: Add nested virtualization support for mediated PMU

2025-05-16 Thread Sean Christopherson
This shortlog is unnecessarily confusing. It reads as if supported for running L2 in a vCPU with a mediated PMU is somehow lacking. On Mon, Mar 24, 2025, Mingwei Zhang wrote: > Add nested virtualization support for mediated PMU by combining the MSR > interception bitmaps of vmcs01 and vmcs12. Do

[PATCH v4 32/38] KVM: nVMX: Add nested virtualization support for mediated PMU

2025-03-24 Thread Mingwei Zhang
Add nested virtualization support for mediated PMU by combining the MSR interception bitmaps of vmcs01 and vmcs12. Readers may argue even without this patch, nested virtualization works for mediated PMU because L1 will see Perfmon v2 and will have to use legacy vPMU implementation if it is Linux. H