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

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Marc-André Lureau 2016-06-23 15:38:59 +02:00 committed by Markus Armbruster
parent 926dce5cb9
commit 8f457b6706
2 changed files with 8 additions and 16 deletions

View File

@ -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
--------------------

View File

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