aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 10:06:34 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:25 +0100
commit65ce54f5e2abe58b6447457e1453a517ba8c91f8 (patch)
tree66d8fc0879a97688cbd6224097dd441dadf6c5b7
parenteaea2bf72f0404abdb78c2914b56c3c299342830 (diff)
downloadqemu-65ce54f5e2abe58b6447457e1453a517ba8c91f8.zip
qemu-65ce54f5e2abe58b6447457e1453a517ba8c91f8.tar.gz
qemu-65ce54f5e2abe58b6447457e1453a517ba8c91f8.tar.bz2
qmp-commands: move 'add_client' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
-rw-r--r--docs/qmp-commands.txt18
-rw-r--r--qapi-schema.json7
2 files changed, 7 insertions, 18 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt
index 18db4cd..a259428 100644
--- a/docs/qmp-commands.txt
+++ b/docs/qmp-commands.txt
@@ -1548,24 +1548,6 @@ Example:
"time": "+60" } }
<- { "return": {} }
-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
----------------
diff --git a/qapi-schema.json b/qapi-schema.json
index 8744b1b..a24e179 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -89,6 +89,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',