From 926dce5cb97f542af6286c10abfd959673595737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 15:33:42 +0200 Subject: [PATCH] qmp-commands: move 'query-dump' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 13 ------------- qapi-schema.json | 7 +++++++ 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 7dce470e80c..40d68e6a4c2 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -137,19 +137,6 @@ Example: -> { "execute": "x-colo-lost-heartbeat" } <- { "return": {} } -query-dump ----------- - -Query background dump status. - -Arguments: None. - -Example: - --> { "execute": "query-dump" } -<- { "return": { "status": "active", "completed": 1024000, - "total": 2048000 } } - qmp_capabilities ---------------- diff --git a/qapi-schema.json b/qapi-schema.json index dbfb592c8c1..6bb442e6913 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3266,6 +3266,13 @@ # Returns: A @DumpStatus object showing the dump status. # # Since: 2.6 +# +# Example: +# +# -> { "execute": "query-dump" } +# <- { "return": { "status": "active", "completed": 1024000, +# "total": 2048000 } } +# ## { 'command': 'query-dump', 'returns': 'DumpQueryResult' } -- 2.39.5