qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 16/30] qmp-commands: move 'client_migrate_info' doc


From: Marc-André Lureau
Subject: [Qemu-devel] [PATCH 16/30] qmp-commands: move 'client_migrate_info' doc to schema
Date: Tue, 13 Sep 2016 17:01:55 +0400

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

diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index d96dd27..53e06d2 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -505,28 +505,6 @@ Example:
 -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
 <- { "return": {} }
 
-client_migrate_info
--------------------
-
-Set migration information for remote display.  This makes the server
-ask the client to automatically reconnect using the new parameters
-once migration finished successfully.  Only implemented for SPICE.
-
-Arguments:
-
-- "protocol":     must be "spice" (json-string)
-- "hostname":     migration target hostname (json-string)
-- "port":         spice tcp port for plaintext channels (json-int, optional)
-- "tls-port":     spice tcp port for tls-secured channels (json-int, optional)
-- "cert-subject": server certificate subject (json-string, optional)
-
-Example:
-
--> { "execute": "client_migrate_info",
-     "arguments": { "protocol": "spice",
-                    "hostname": "virt42.lab.kraxel.org",
-                    "port": 1234 } }
-<- { "return": {} }
 
 dump
 
diff --git a/qapi-schema.json b/qapi-schema.json
index e57f223..4bf088c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1036,12 +1036,25 @@
 # once migration finished successfully.  Only implemented for SPICE.
 #
 # @protocol:     must be "spice"
+#
 # @hostname:     migration target hostname
+#
 # @port:         #optional spice tcp port for plaintext channels
+#
 # @tls-port:     #optional spice tcp port for tls-secured channels
+#
 # @cert-subject: #optional server certificate subject
 #
 # Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "client_migrate_info",
+#      "arguments": { "protocol": "spice",
+#                     "hostname": "virt42.lab.kraxel.org",
+#                     "port": 1234 } }
+# <- { "return": {} }
+#
 ##
 { 'command': 'client_migrate_info',
   'data': { 'protocol': 'str', 'hostname': 'str', '*port': 'int',
-- 
2.10.0




reply via email to

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