Re: [PATCH 2/4] KVM: VMX: Handle #MCs on VM-Enter/TD-Enter outside of the fastpath
From: Edgecombe, Rick P
Date: Mon Nov 17 2025 - 11:36:13 EST
On Mon, 2025-11-17 at 14:38 +0200, Tony Lindgren wrote:
> I bisected kvm-x86/next down to this change for a TDX guest not
> booting and host producing errors like:
>
> watchdog: CPU118: Watchdog detected hard LOCKUP on cpu 118
>
> Dropping the is_td_vcpu(vcpu) check above fixes the issue. Earlier
> the call for vmx_handle_exit_irqoff() was unconditional.
>
> Probably the (u16) cast above can be dropped too? It was never used
> for TDX looking at the patch.
Ah! Thanks for picking this up. I had almost got there but lost my TDX
machine for a bit.