提交 8f457b67 编写于 作者: M Marc-André Lureau 提交者: Markus Armbruster

qmp-commands: move 'migrate-set-cache-size' doc to schema

Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
上级 926dce5c
......@@ -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
--------------------
......
......@@ -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'} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册