diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 7dce470e80c78768db40e06dccbdf05640d26179..40d68e6a4c2b3f25d6bad8656bbdd26eae73158c 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 dbfb592c8c1f53b04443baf419effdf76caa50b7..6bb442e69132f8666029b9a3dd574c82132aa134 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' }