From d0d3fc7ff9f50dde85f020b9aa8ef8e076f647cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 23 Jun 2016 10:32:33 +0200 Subject: [PATCH] qmp-commands: move 'client_migrate_info' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 23 ----------------------- qapi-schema.json | 9 +++++++++ 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', -- 2.11.0