Re: [PATCH v5 1/1] KVM: x86: Introduce has_protected_pmu state for TDX VMs

From: Sean Christopherson

Date: Wed May 27 2026 - 14:27:58 EST


On Fri, 22 May 2026 15:15:34 +0000, Vishal Annapurve wrote:
> PMU state for TDX VMs is virtualized by TDX Module [1]. Host has following
> toggles to control the PMU functionality exposed to TDX VMs:
> 1) Configure TD_PARAMS to allow guests to use performance monitoring.
> 2) Restrict the TD to a subset of the PEBS counters if supported.
> 3) Limit the TD to setup a certain perfmon events using basic/enhanced
> event filtering.
>
> [...]

Applied to kvm-x86 misc, with a heavily modified changelog. Thanks!

[1/1] KVM: x86: Introduce has_protected_pmu state for TDX VMs
https://github.com/kvm-x86/linux/commit/986833d381d2

--
https://github.com/kvm-x86/linux/tree/next