aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:20:39 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commit4d8a374e3e62ab581be74a66915fd38b1c98816f (patch)
treec160f76cd1020e350cc0e09ad5fedd533a3cd247 /qapi-schema.json
parentb953601be00e020bd960d7bd4f1276b743cd35fd (diff)
qmp-commands: move 'set_password' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 104f910269..52d76ac1b2 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2784,6 +2784,13 @@
# If Spice is not enabled, DeviceNotFound
#
# Since: 0.14.0
+#
+# Example:
+#
+# -> { "execute": "set_password", "arguments": { "protocol": "vnc",
+# "password": "secret" } }
+# <- { "return": {} }
+#
##
{ 'command': 'set_password',
'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} }