aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:03:06 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:27 +0100
commitcd98e00be03c04faa82dd1149974a85dcb94aad8 (patch)
tree1a22ade2ee67509f5a6c8319a645b4bf2a6371c4
parent9787339ebb6af5360c3b4759831ff4a54464b64d (diff)
qmp-commands: move 'system_reset' 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.txt12
-rw-r--r--qapi-schema.json6
2 files changed, 6 insertions, 12 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index d0d324de73..647cc3a9e5 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -137,18 +137,6 @@ Example:
-> { "execute": "system_wakeup" }
<- { "return": {} }
-system_reset
-------------
-
-Reset the system.
-
-Arguments: None.
-
-Example:
-
--> { "execute": "system_reset" }
-<- { "return": {} }
-
system_powerdown
----------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 9e3a192646..370f988742 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2154,6 +2154,12 @@
# Performs a hard reset of a guest.
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "system_reset" }
+# <- { "return": {} }
+#
##
{ 'command': 'system_reset' }