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>
This commit is contained in:
Marc-André Lureau 2016-06-23 15:33:42 +02:00 committed by Markus Armbruster
parent f6235a256f
commit 926dce5cb9
2 changed files with 7 additions and 13 deletions

View file

@ -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
----------------

View file

@ -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' }