diff mbox

[12/30] qmp-commands: move 'query-migrate-cache-size' doc to schema

Message ID 20160922092305.2895-13-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Sept. 22, 2016, 9:22 a.m. UTC
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 docs/qmp-commands.txt | 13 -------------
 qapi-schema.json      |  8 +++++++-
 2 files changed, 7 insertions(+), 14 deletions(-)
diff mbox

Patch

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 9ef6ce1..b829dc1 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -303,19 +303,6 @@  Example:
 -> { "execute": "migrate-set-cache-size", "arguments": { "value": 536870912 } }
 <- { "return": {} }
 
-query-migrate-cache-size
-------------------------
-
-Show cache size to be used by XBZRLE migration
-
-returns a json-object with the following information:
-- "size" : json-int
-
-Example:
-
--> { "execute": "query-migrate-cache-size" }
-<- { "return": 67108864 }
-
 dump
 
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 864927d..582fbfd 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2567,11 +2567,17 @@ 
 ##
 # @query-migrate-cache-size
 #
-# query XBZRLE cache size
+# Query migration XBZRLE cache size
 #
 # Returns: XBZRLE cache size in bytes
 #
 # Since: 1.2
+#
+# Example:
+#
+# -> { "execute": "query-migrate-cache-size" }
+# <- { "return": 67108864 }
+#
 ##
 { 'command': 'query-migrate-cache-size', 'returns': 'int' }