Received: from eggs.gnu.org ([2001:4830:134:3::10]:47789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnLx-0004IZ-7Q for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjnLt-0004Ed-EJ for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjnLt-0004EE-9O for qemu-devel@nongnu.org; Tue, 13 Sep 2016 09:02:17 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (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 EF428825 for ; Tue, 13 Sep 2016 13:02:15 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 13 Sep 2016 17:01:40 +0400 Message-Id: <20160913130209.695-2-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 01/30] qmp-commands: move 'add_client' 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 | 18 ------------------ qapi-schema.json | 8 ++++++++ 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index acebeb3..2d65f24 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -1531,24 +1531,6 @@ Example: "time": "+60" } } <- { "return": {} } =20 -add_client ----------- - -Add a graphics client - -Arguments: - -- "protocol": protocol name (json-string) -- "fdname": file descriptor name (json-string) -- "skipauth": whether to skip authentication (json-bool, optional) -- "tls": whether to perform TLS (json-bool, optional) - -Example: - --> { "execute": "add_client", "arguments": { "protocol": "vnc", - "fdname": "myclient" } } -<- { "return": {} } - qmp_capabilities ---------------- =20 diff --git a/qapi-schema.json b/qapi-schema.json index 55f825d..f0e2d2c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -65,6 +65,7 @@ { 'enum': 'LostTickPolicy', 'data': ['discard', 'delay', 'merge', 'slew' ] } =20 +## # @add_client # # Allow client connections for VNC, Spice and socket based @@ -84,6 +85,13 @@ # Returns: nothing on success. # # Since: 0.14.0 +# +# Example: +# +# -> { "execute": "add_client", "arguments": { "protocol": "vnc", +# "fdname": "myclient" } } +# <- { "return": {} } +# ## { 'command': 'add_client', 'data': { 'protocol': 'str', 'fdname': 'str', '*skipauth': 'bool', --=20 2.10.0