mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-29 21:12:07 -06:00
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:
parent
926dce5cb9
commit
8f457b6706
2 changed files with 8 additions and 16 deletions
|
@ -112,21 +112,6 @@ Example:
|
||||||
"arguments": { "filename": "/tmp/resume" } }
|
"arguments": { "filename": "/tmp/resume" } }
|
||||||
<- { "return": {} }
|
<- { "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
|
x-colo-lost-heartbeat
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
|
@ -2641,7 +2641,7 @@
|
||||||
##
|
##
|
||||||
# @migrate-set-cache-size:
|
# @migrate-set-cache-size:
|
||||||
#
|
#
|
||||||
# Set XBZRLE cache size
|
# Set cache size to be used by XBZRLE migration
|
||||||
#
|
#
|
||||||
# @value: cache size in bytes
|
# @value: cache size in bytes
|
||||||
#
|
#
|
||||||
|
@ -2651,6 +2651,13 @@
|
||||||
# Returns: nothing on success
|
# Returns: nothing on success
|
||||||
#
|
#
|
||||||
# Since: 1.2
|
# Since: 1.2
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "migrate-set-cache-size",
|
||||||
|
# "arguments": { "value": 536870912 } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }
|
{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'} }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue