Re: [PATCH v4 15/38] KVM: x86/pmu: Check PMU cpuid configuration from user space

2025-05-14 Thread Mi, Dapeng
On 5/15/2025 8:12 AM, Sean Christopherson wrote: > On Mon, Mar 24, 2025, Mingwei Zhang wrote: >> From: Dapeng Mi >> >> Check user space's PMU cpuid configuration and filter the invalid >> configuration. >> >> Either legacy perf-based vPMU or mediated vPMU needs kernel to support >> local APIC, o

Re: [PATCH v4 15/38] KVM: x86/pmu: Check PMU cpuid configuration from user space

2025-05-14 Thread Sean Christopherson
On Mon, Mar 24, 2025, Mingwei Zhang wrote: > From: Dapeng Mi > > Check user space's PMU cpuid configuration and filter the invalid > configuration. > > Either legacy perf-based vPMU or mediated vPMU needs kernel to support > local APIC, otherwise PMI has no way to be injected into guest. If > ke