qmp-commands: move 'inject-nmi' doc to schema

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Marc-André Lureau 2016-06-23 13:08:44 +02:00 committed by Markus Armbruster
parent 253cdee148
commit 149ea099cd
2 changed files with 7 additions and 14 deletions

View file

@ -195,20 +195,6 @@ Example:
Note: CPUs' indexes are obtained with the 'query-cpus' command. Note: CPUs' indexes are obtained with the 'query-cpus' command.
inject-nmi
----------
Inject an NMI on the default CPU (x86/s390) or all CPUs (ppc64).
Arguments: None.
Example:
-> { "execute": "inject-nmi" }
<- { "return": {} }
Note: inject-nmi fails when the guest doesn't support injecting.
xen-save-devices-state xen-save-devices-state
------- -------

View file

@ -2319,12 +2319,19 @@
# @inject-nmi: # @inject-nmi:
# #
# Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or all CPUs (ppc64). # Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or all CPUs (ppc64).
# The command fails when the guest doesn't support injecting.
# #
# Returns: If successful, nothing # Returns: If successful, nothing
# #
# Since: 0.14.0 # Since: 0.14.0
# #
# Note: prior to 2.1, this command was only supported for x86 and s390 VMs # Note: prior to 2.1, this command was only supported for x86 and s390 VMs
#
# Example:
#
# -> { "execute": "inject-nmi" }
# <- { "return": {} }
#
## ##
{ 'command': 'inject-nmi' } { 'command': 'inject-nmi' }