diff options
-rw-r--r-- | docs/qmp-commands.txt | 13 | ||||
-rw-r--r-- | qapi-schema.json | 8 |
2 files changed, 7 insertions, 14 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 889955eb30..88bb012320 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -305,19 +305,6 @@ Example: -> { "execute": "migrate-set-cache-size", "arguments": { "value": 536870912 } } <- { "return": {} } -query-migrate-cache-size ------------------------- - -Show cache size to be used by XBZRLE migration - -returns a json-object with the following information: -- "size" : json-int - -Example: - --> { "execute": "query-migrate-cache-size" } -<- { "return": 67108864 } - x-colo-lost-heartbeat -------------------- diff --git a/qapi-schema.json b/qapi-schema.json index 092008a4ff..104f910269 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2657,11 +2657,17 @@ ## # @query-migrate-cache-size: # -# query XBZRLE cache size +# Query migration XBZRLE cache size # # Returns: XBZRLE cache size in bytes # # Since: 1.2 +# +# Example: +# +# -> { "execute": "query-migrate-cache-size" } +# <- { "return": 67108864 } +# ## { 'command': 'query-migrate-cache-size', 'returns': 'int' } |