aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:32:33 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:26 +0100
commitd0d3fc7ff9f50dde85f020b9aa8ef8e076f647cd (patch)
tree4a70e813f2f957e8524400ab4220e532e0c89acb
parentcf56cfad3ca963fef0f2856217d19f2e13ed1c90 (diff)
qmp-commands: move 'client_migrate_info' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt23
-rw-r--r--qapi-schema.json9
2 files changed, 9 insertions, 23 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index f5cf7daecf..f963066ed1 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -517,29 +517,6 @@ Example:
-> { "execute": "x-colo-lost-heartbeat" }
<- { "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 4381ee3efe..1387cd7f90 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1057,6 +1057,15 @@
# @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',