diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-21 09:59:15 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-22 06:40:08 -0700 |
| commit | a06210034254b6a5800ff0a8c1b69739adf16014 (patch) | |
| tree | f68d5ba04667df1260e2005cbba2bcf7bc817a40 /rust/kernel/alloc/kvec/errors.rs | |
| parent | f502a81663dd8520f83af75849803b168479be05 (diff) | |
KVM: VMX: Move the shared NMI handler/trampoline to common code
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, and move the declaration higher up in common.h so
that it doesn't get buried in a pile of inline helpers (more are on the
way).
No functional change intended.
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Kai Huang <kai.huang@intel.com>
Tested-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://patch.msgid.link/20260904010353.3175819-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
