diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 15:38:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:19:47 +0100 |
commit | 8f457b67066e58e7a1c6d2bd2280634e1f59c137 (patch) | |
tree | a7c6385d5e4ad9179346fbcf8246b8579f76a3b2 | |
parent | 926dce5cb97f542af6286c10abfd959673595737 (diff) | |
download | qemu-8f457b67066e58e7a1c6d2bd2280634e1f59c137.zip qemu-8f457b67066e58e7a1c6d2bd2280634e1f59c137.tar.gz qemu-8f457b67066e58e7a1c6d2bd2280634e1f59c137.tar.bz2 |
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>
-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 40d68e6..0de1b04 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 6bb442e..48670e9 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'} } |