Commit 7e548b0
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>1 parent d5bc91e commit 7e548b0
2 files changed
+17
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7214 | 7214 | | |
7215 | 7215 | | |
7216 | 7216 | | |
| 7217 | + | |
| 7218 | + | |
| 7219 | + | |
| 7220 | + | |
| 7221 | + | |
| 7222 | + | |
| 7223 | + | |
| 7224 | + | |
| 7225 | + | |
| 7226 | + | |
| 7227 | + | |
| 7228 | + | |
| 7229 | + | |
| 7230 | + | |
7217 | 7231 | | |
7218 | 7232 | | |
7219 | 7233 | | |
| |||
7257 | 7271 | | |
7258 | 7272 | | |
7259 | 7273 | | |
7260 | | - | |
7261 | | - | |
7262 | | - | |
7263 | | - | |
7264 | | - | |
7265 | | - | |
7266 | | - | |
7267 | | - | |
7268 | | - | |
| 7274 | + | |
7269 | 7275 | | |
7270 | 7276 | | |
7271 | 7277 | | |
| |||
0 commit comments