diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-23 13:21:41 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-01-16 09:15:28 +0100 |
commit | 342816b975ec263b7663f7d2e025ed5b7fc1dc13 (patch) | |
tree | fb1fae8bdc5b6d6b4582844c8ecb8a4f95091ced | |
parent | 4d8a374e3e62ab581be74a66915fd38b1c98816f (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>
-rw-r--r-- | docs/qmp-commands.txt | 16 | ||||
-rw-r--r-- | qapi-schema.json | 7 |
2 files changed, 7 insertions, 16 deletions
diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 1faa47ff58..65cab07768 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -1128,22 +1128,6 @@ Example: "iops_size": 0 } } <- { "return": {} } -expire_password ---------------- - -Set the password expire time for vnc/spice protocols. - -Arguments: - -- "protocol": protocol name (json-string) -- "time": [ now | never | +secs | secs ] (json-string) - -Example: - --> { "execute": "expire_password", "arguments": { "protocol": "vnc", - "time": "+60" } } -<- { "return": {} } - qmp_capabilities ---------------- 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'} } |