aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:39:50 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit7d1182d989f61ffbd6745112bd487611e2f40bc4 (patch)
tree64845e90e07f914c42e54d673aff769f3bb4010b
parent8f457b67066e58e7a1c6d2bd2280634e1f59c137 (diff)
qmp-commands: move 'xen-load-devices-state' 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.txt18
-rw-r--r--qapi-schema.json7
2 files changed, 7 insertions, 18 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 0de1b04aa9..93b3742ac5 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -94,24 +94,6 @@ Example:
Note: CPUs' indexes are obtained with the 'query-cpus' command.
-xen-load-devices-state
-----------------------
-
-Load the state of all devices from file. The RAM and the block devices
-of the VM are not loaded by this command.
-
-Arguments:
-
-- "filename": the file to load the state of the devices from as binary
-data. See xen-save-devices-state.txt for a description of the binary
-format.
-
-Example:
-
--> { "execute": "xen-load-devices-state",
- "arguments": { "filename": "/tmp/resume" } }
-<- { "return": {} }
-
x-colo-lost-heartbeat
--------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 48670e96e4..7aeb0fa1e7 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -5832,6 +5832,13 @@
# format.
#
# Since: 2.7
+#
+# Example:
+#
+# -> { "execute": "xen-load-devices-state",
+# "arguments": { "filename": "/tmp/resume" } }
+# <- { "return": {} }
+#
##
{ 'command': 'xen-load-devices-state', 'data': {'filename': 'str'} }