Re: [PATCH v2 2/8] KVM: VMX: Move the shared NMI handler/trampoline to common code

From: Xiaoyao Li

Date: Thu Aug 27 2026 - 07:20:38 EST


On 8/27/2026 1:12 AM, Sean Christopherson wrote:
Move vmx_handle_nmi() to main.c to capture that it's a common handler and
to allow guarding against incorrectly using to_vmx().

Opportunistically use a "vt" prefix instead of "vmx" to communicate that
it's a shared handler.

No functional change intended.

Signed-off-by: Sean Christopherson<seanjc@xxxxxxxxxx>

Reviewed-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>