From 2ccb98033353512a1cdf171fdc88047d5977c97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 13:31:04 +0200 Subject: [PATCH] qmp-commands: move 'query-dump-guest-memory-capability' 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 | 11 ----------- qapi-schema.json | 7 +++++++ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 162467e924..e4c8457801 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -192,17 +192,6 @@ Example: -> { "execute": "x-colo-lost-heartbeat" } <- { "return": {} } -query-dump-guest-memory-capability ----------- - -Show available formats for 'dump-guest-memory' - -Example: - --> { "execute": "query-dump-guest-memory-capability" } -<- { "return": { "formats": - ["elf", "kdump-zlib", "kdump-lzo", "kdump-snappy"] } - query-dump ---------- diff --git a/qapi-schema.json b/qapi-schema.json index 0d80fa2028..d0f6a32ad1 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3289,6 +3289,13 @@ # dump-guest-memory # # Since: 2.0 +# +# Example: +# +# -> { "execute": "query-dump-guest-memory-capability" } +# <- { "return": { "formats": +# ["elf", "kdump-zlib", "kdump-lzo", "kdump-snappy"] } +# ## { 'command': 'query-dump-guest-memory-capability', 'returns': 'DumpGuestMemoryCapability' }