Received: from eggs.gnu.org ([2001:4830:134:3::10]:48180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMs-0004u8-Fe for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnMn-0004Xc-JB for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMn-0004XO-E8 for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:13 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 02744C056793 for ; Tue, 13 Sep 2016 13:03:13 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 13 Sep 2016 17:01:55 +0400 Message-Id: <20160913130209.695-17-marcandre.lureau@redhat.com> In-Reply-To: <20160913130209.695-1-marcandre.lureau@redhat.com> References: <20160913130209.695-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 16/30] qmp-commands: move 'client_migrate_info' doc to schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Signed-off-by: Marc-Andr=C3=A9 Lureau --- 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": {} } =20 -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, optio= nal) -- "tls-port": spice tcp port for tls-secured channels (json-int, opt= ional) -- "cert-subject": server certificate subject (json-string, optional) - -Example: - --> { "execute": "client_migrate_info", - "arguments": { "protocol": "spice", - "hostname": "virt42.lab.kraxel.org", - "port": 1234 } } -<- { "return": {} } =20 dump =20 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', --=20 2.10.0