]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: VMX: Add a helper for NMI handling
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 22 Feb 2025 01:47:55 +0000 (09:47 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Mar 2025 18:20:56 +0000 (14:20 -0400)
commit7e548b0d90a7576f0158e0ea2d819c026b279150
tree8912b64a28e0f344547c00873f8456d251bcbf73
parentd5bc91e8e74a8c4be43797d0d5bd24070ca36757
KVM: VMX: Add a helper for NMI handling

Add a helper to handles NMI exit.

TDX handles the NMI exit the same as VMX case.  Add a helper to share the
code with TDX, expose the helper in common.h.

No functional change intended.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Co-developed-by: Binbin Wu <binbin.wu@linux.intel.com>
Signed-off-by: Binbin Wu <binbin.wu@linux.intel.com>
Message-ID: <20250222014757.897978-15-binbin.wu@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/common.h
arch/x86/kvm/vmx/vmx.c