Re: [PATCH v3 06/16] KVM: VMX: Move core VMXON enablement to kernel
From: Dave Hansen
Date: Thu Feb 26 2026 - 17:33:19 EST
On 2/13/26 17:26, Sean Christopherson wrote:
> Move the innermost VMXON+VMXOFF logic out of KVM and into to core x86 so
> that TDX can (eventually) force VMXON without having to rely on KVM being
> loaded, e.g. to do SEAMCALLs during initialization.
>
> Opportunistically update the comment regarding emergency disabling via NMI
> to clarify that virt_rebooting will be set by _another_ emergency callback,
> i.e. that virt_rebooting doesn't need to be set before VMCLEAR, only
> before _this_ invocation does VMXOFF.
For the x86 side:
Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
I'm also very much OK with this going through the KVM tree.