aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 15:38:59 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:19:47 +0100
commit8f457b67066e58e7a1c6d2bd2280634e1f59c137 (patch)
treea7c6385d5e4ad9179346fbcf8246b8579f76a3b2 /qapi-schema.json
parent926dce5cb97f542af6286c10abfd959673595737 (diff)
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>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json9
1 files changed, 8 insertions, 1 deletions
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'} }