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>
This commit is contained in:
parent
4d8a374e3e
commit
342816b975
@ -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
|
||||
----------------
|
||||
|
||||
|
@ -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'} }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user