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