mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
b953601be0
commit
4d8a374e3e
|
@ -1128,23 +1128,6 @@ Example:
|
|||
"iops_size": 0 } }
|
||||
<- { "return": {} }
|
||||
|
||||
set_password
|
||||
------------
|
||||
|
||||
Set the password for vnc/spice protocols.
|
||||
|
||||
Arguments:
|
||||
|
||||
- "protocol": protocol name (json-string)
|
||||
- "password": password (json-string)
|
||||
- "connected": [ keep | disconnect | fail ] (json-string, optional)
|
||||
|
||||
Example:
|
||||
|
||||
-> { "execute": "set_password", "arguments": { "protocol": "vnc",
|
||||
"password": "secret" } }
|
||||
<- { "return": {} }
|
||||
|
||||
expire_password
|
||||
---------------
|
||||
|
||||
|
|
|
@ -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'} }
|
||||
|
|
Loading…
Reference in New Issue