vmm: support injecting NMI

Inject NMI interrupt when needed, by call ioctl KVM_NMI.

Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
Yi Wang
2023-12-11 17:57:25 +08:00
committed by Rob Bradford
parent f40dd4a993
commit c72bf0b32d
7 changed files with 93 additions and 2 deletions

View File

@@ -405,6 +405,13 @@ paths:
405:
description: The VM instance could not be coredumped because it is not booted.
/vmm.nmi:
put:
summary: Inject an NMI.
responses:
204:
description: The NMI successfully injected.
/vm.restore:
put:
summary: Restore a VM from a snapshot.