qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 12/30] qmp-commands: move 'query-migrate-cache-size'


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 12/30] qmp-commands: move 'query-migrate-cache-size' doc to schema
Date: Thu, 22 Sep 2016 13:22:47 +0400

Signed-off-by: Marc-André Lureau <address@hidden>
---
 docs/qmp-commands.txt | 13 -------------
 qapi-schema.json      |  8 +++++++-
 2 files changed, 7 insertions(+), 14 deletions(-)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]