diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:33:42 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:47 +0100 |
commit | 926dce5cb97f542af6286c10abfd959673595737 (patch) | |
tree | b9f1104995f3f1eed1fbcb0150eb390303a55df2 | |
parent | f6235a256f92da7be62af66e5ec49381a731a421 (diff) |
qmp-commands: move 'query-dump' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r-- | docs/qmp-commands.txt | 13 | ||||
-rw-r--r-- | qapi-schema.json | 7 |
2 files changed, 7 insertions, 13 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 7dce470e80..40d68e6a4c 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 dbfb592c8c..6bb442e691 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' } |