Received: from eggs.gnu.org ([2001:4830:134:3::10]:38287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0FG-00023L-Mu for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn0FE-0003qH-Lp for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:24:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn0FE-0003qD-Fj for qemu-devel@nongnu.org; Thu, 22 Sep 2016 05:24:40 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (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 0D656A077A for ; Thu, 22 Sep 2016 09:24:40 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 22 Sep 2016 13:22:52 +0400 Message-Id: <20160922092305.2895-18-marcandre.lureau@redhat.com> In-Reply-To: <20160922092305.2895-1-marcandre.lureau@redhat.com> References: <20160922092305.2895-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 17/30] qmp-commands: move 'migrate-incoming' 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 | 20 -------------------- qapi-schema.json | 20 +++++++++++++++++--- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 799ac72..32e5b0a 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -217,26 +217,6 @@ Example: "arguments": { "enable": true } } <- { "return": {} } =20 -migrate-incoming ----------------- - -Continue an incoming migration - -Arguments: - -- "uri": Source/listening URI (json-string) - -Example: - --> { "execute": "migrate-incoming", "arguments": { "uri": "tcp::4446" } = } -<- { "return": {} } - -Notes: - -(1) QEMU must be started with -incoming defer to allow migrate-incoming = to - be used -(2) The uri format is the same as for -incoming - migrate-set-cache-size ---------------------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index d9f4b1e..cd77264 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2915,9 +2915,23 @@ # Returns: nothing on success # # Since: 2.3 -# Note: It's a bad idea to use a string for the uri, but it needs to sta= y -# compatible with -incoming and the format of the uri is already exposed -# above libvirt +# +# Notes: +# +# 1. It's a bad idea to use a string for the uri, but it needs to stay +# compatible with -incoming and the format of the uri is already expo= sed +# above libvirt. +# +# 2. QEMU must be started with -incoming defer to allow migrate-incoming= to +# be used. +# +# 3. The uri format is the same as for -incoming +# +# Example: +# +# -> { "execute": "migrate-incoming", "arguments": { "uri": "tcp::4446" = } } +# <- { "return": {} } +# ## { 'command': 'migrate-incoming', 'data': {'uri': 'str' } } =20 --=20 2.10.0