Received: from eggs.gnu.org ([2001:4830:134:3::10]:48086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMi-0004lK-F8 for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnMc-0004Tu-HC for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnMc-0004Tm-CP for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:03:02 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 EA7D380F6B for ; Tue, 13 Sep 2016 13:03:01 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 13 Sep 2016 17:01:52 +0400 Message-Id: <20160913130209.695-14-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 13/30] qmp-commands: move 'query-migrate-capabilities' 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 | 29 ----------------------------- qapi-schema.json | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 29 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index ca57cdb..c7a0712 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -2441,35 +2441,6 @@ Example: ] } =20 -query-migrate-capabilities --------------------------- - -Query current migration capabilities - -- "capabilities": migration capabilities state - - "xbzrle" : XBZRLE state (json-bool) - - "rdma-pin-all" : RDMA Pin Page state (json-bool) - - "auto-converge" : Auto Converge state (json-bool) - - "zero-blocks" : Zero Blocks state (json-bool) - - "compress": Multiple compression threads state (json-bool) - - "events": Migration state change event state (json-bool) - - "postcopy-ram": postcopy ram state (json-bool) - -Arguments: - -Example: - --> { "execute": "query-migrate-capabilities" } -<- {"return": [ - {"state": false, "capability": "xbzrle"}, - {"state": false, "capability": "rdma-pin-all"}, - {"state": false, "capability": "auto-converge"}, - {"state": false, "capability": "zero-blocks"}, - {"state": false, "capability": "compress"}, - {"state": true, "capability": "events"}, - {"state": false, "capability": "postcopy-ram"} - ]} - migrate-set-parameters ---------------------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index 82b2100..1599d8b 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -845,6 +845,20 @@ # Returns: @MigrationCapabilitiesStatus # # Since: 1.2 +# +# Example: +# +# -> { "execute": "query-migrate-capabilities" } +# <- { "return": [ +# {"state": false, "capability": "xbzrle"}, +# {"state": false, "capability": "rdma-pin-all"}, +# {"state": false, "capability": "auto-converge"}, +# {"state": false, "capability": "zero-blocks"}, +# {"state": false, "capability": "compress"}, +# {"state": true, "capability": "events"}, +# {"state": false, "capability": "postcopy-ram"} +# ]} +# ## { 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapab= ilityStatus']} =20 --=20 2.10.0