From 2ea72beb9f9f561c66b9bacfee61d0fb96d4f15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:25:28 +0200 Subject: [PATCH] qmp-commands: move 'xen-save-devices-state' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 18 ------------------ qapi-schema.json | 7 +++++++ 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 116d2f723c..73fef658f8 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -168,24 +168,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 f021cd0dfc..be653e8b54 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3039,6 +3039,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'} }