From 7d1182d989f61ffbd6745112bd487611e2f40bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 15:39:50 +0200 Subject: [PATCH] qmp-commands: move 'xen-load-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 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'} }