diff options
-rw-r--r-- | docs/qmp-commands.txt | 15 | ||||
-rw-r--r-- | qapi-schema.json | 9 |
2 files changed, 8 insertions, 16 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 40d68e6a4c..0de1b04aa9 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -112,21 +112,6 @@ Example: "arguments": { "filename": "/tmp/resume" } } <- { "return": {} } -migrate-set-cache-size ----------------------- - -Set cache size to be used by XBZRLE migration, the cache size will be rounded -down to the nearest power of 2 - -Arguments: - -- "value": cache size in bytes (json-int) - -Example: - --> { "execute": "migrate-set-cache-size", "arguments": { "value": 536870912 } } -<- { "return": {} } - x-colo-lost-heartbeat -------------------- diff --git a/qapi-schema.json b/qapi-schema.json index 6bb442e691..48670e96e4 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2641,7 +2641,7 @@ ## # @migrate-set-cache-size: # -# Set XBZRLE cache size +# Set cache size to be used by XBZRLE migration # # @value: cache size in bytes # @@ -2651,6 +2651,13 @@ # Returns: nothing on success # # Since: 1.2 +# +# Example: +# +# -> { "execute": "migrate-set-cache-size", +# "arguments": { "value": 536870912 } } +# <- { "return": {} } +# ## { 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} } |