Signed-off-by: Marc-André Lureau <[email protected]>
---
docs/qmp-commands.txt | 18 ------------------
qapi-schema.json | 8 ++++++++
2 files changed, 8 insertions(+), 18 deletions(-)
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 32e5b0a..cc90d57 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -166,24 +166,6 @@ Example:
Note: CPUs' indexes are obtained with the 'query-cpus' command.
-xen-save-devices-state
--------
-
-Save the state of all devices to file. The RAM and the block devices
-of the VM are not saved by this command.
-
-Arguments:
-
-- "filename": the file to save the state of the devices to as binary
-data. See xen-save-devices-state.txt for a description of the binary
-format.
-
-Example:
-
--> { "execute": "xen-save-devices-state",
- "arguments": { "filename": "/tmp/save" } }
-<- { "return": {} }
-
xen-load-devices-state
----------------------
diff --git a/qapi-schema.json b/qapi-schema.json
index cd77264..93322a9 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2935,6 +2935,7 @@
##
{ 'command': 'migrate-incoming', 'data': {'uri': 'str' } }
+##
# @xen-save-devices-state:
#
# Save the state of all devices to file. The RAM and the block devices
@@ -2947,6 +2948,13 @@
# Returns: Nothing on success
#
# Since: 1.1
+#
+# Example:
+#
+# -> { "execute": "xen-save-devices-state",
+# "arguments": { "filename": "/tmp/save" } }
+# <- { "return": {} }
+#
##
{ 'command': 'xen-save-devices-state', 'data': {'filename': 'str'} }
--
2.10.0