mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
QMP: add inject-nmi qmp command
inject-nmi command injects an NMI on all CPUs of guest. It is only supported for x86 guest currently, it will returns "Unsupported" error for non-x86 guest. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
4c5a1e4db7
commit
a404666457
2 changed files with 44 additions and 0 deletions
|
@ -427,6 +427,33 @@ Example:
|
|||
"filename": "/tmp/physical-mem-dump" } }
|
||||
<- { "return": {} }
|
||||
|
||||
EQMP
|
||||
|
||||
{
|
||||
.name = "inject-nmi",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "",
|
||||
.user_print = monitor_user_noop,
|
||||
.mhandler.cmd_new = do_inject_nmi_all,
|
||||
},
|
||||
|
||||
SQMP
|
||||
inject-nmi
|
||||
----------
|
||||
|
||||
Inject an NMI on guest's CPUs.
|
||||
|
||||
Arguments: None.
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "inject-nmi" }
|
||||
<- { "return": {} }
|
||||
|
||||
Note: inject-nmi is only supported for x86 guest currently, it will
|
||||
returns "Unsupported" error for non-x86 guest.
|
||||
|
||||
EQMP
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue