summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:08:44 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commit149ea099cdee4857f9af7125682f7dadf23c8ac8 (patch)
tree0f5a2fca25efa4aaa5450084cf6786a2e258c9af
parent253cdee14864806d1aaa397ece3fddbcbdcc1734 (diff)
downloadfocaccia-qemu-149ea099cdee4857f9af7125682f7dadf23c8ac8.tar.gz
focaccia-qemu-149ea099cdee4857f9af7125682f7dadf23c8ac8.zip
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>
-rw-r--r--docs/qmp-commands.txt14
-rw-r--r--qapi-schema.json7
2 files changed, 7 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 2361e84c8f..ba4fd1ccda 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -195,20 +195,6 @@ Example:
 
 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
 -------
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 5a2716ceb3..1675a9bf16 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2319,12 +2319,19 @@
 # @inject-nmi:
 #
 # 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
 #
 # Since:  0.14.0
 #
 # Note: prior to 2.1, this command was only supported for x86 and s390 VMs
+#
+# Example:
+#
+# -> { "execute": "inject-nmi" }
+# <- { "return": {} }
+#
 ##
 { 'command': 'inject-nmi' }