aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-06-23 13:21:41 +0200
committerMarkus Armbruster <armbru@redhat.com>2017-01-16 09:15:28 +0100
commit342816b975ec263b7663f7d2e025ed5b7fc1dc13 (patch)
treefb1fae8bdc5b6d6b4582844c8ecb8a4f95091ced /qapi-schema.json
parent4d8a374e3e62ab581be74a66915fd38b1c98816f (diff)
qmp-commands: move 'expire_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 52d76ac1b2..398e5d3eda 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -2817,6 +2817,13 @@
# coordinate server time with client time. It is not recommended to
# use the absolute time version of the @time parameter unless you're
# sure you are on the same machine as the QEMU instance.
+#
+# Example:
+#
+# -> { "execute": "expire_password", "arguments": { "protocol": "vnc",
+# "time": "+60" } }
+# <- { "return": {} }
+#
##
{ 'command': 'expire_password', 'data': {'protocol': 'str', 'time': 'str'} }