qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 11/30] qmp-commands: move 'migrate_set_speed' doc to schema
Date: Thu, 22 Sep 2016 13:22:46 +0400

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

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index b73bcac..9ef6ce1 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -316,20 +316,6 @@ Example:
 -> { "execute": "query-migrate-cache-size" }
 <- { "return": 67108864 }
 
-migrate_set_speed
------------------
-
-Set maximum speed for migrations.
-
-Arguments:
-
-- "value": maximum speed, in bytes per second (json-int)
-
-Example:
-
--> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
-<- { "return": {} }
-
 dump
 
 
diff --git a/qapi-schema.json b/qapi-schema.json
index 65ddfc6..864927d 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2532,13 +2532,19 @@
 #
 # Set maximum speed for migration.
 #
-# @value: maximum speed in bytes.
+# @value: maximum speed in bytes per second.
 #
 # Returns: nothing on success
 #
 # Notes: A value lesser than zero will be automatically round up to zero.
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'migrate_set_speed', 'data': {'value': 'int'} }
 
-- 
2.10.0




reply via email to

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