mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-03 23:41:53 -06:00
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
2 changed files with 7 additions and 17 deletions
|
@ -1128,23 +1128,6 @@ Example:
|
||||||
"iops_size": 0 } }
|
"iops_size": 0 } }
|
||||||
<- { "return": {} }
|
<- { "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
|
expire_password
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
|
@ -2784,6 +2784,13 @@
|
||||||
# If Spice is not enabled, DeviceNotFound
|
# If Spice is not enabled, DeviceNotFound
|
||||||
#
|
#
|
||||||
# Since: 0.14.0
|
# Since: 0.14.0
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "set_password", "arguments": { "protocol": "vnc",
|
||||||
|
# "password": "secret" } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'set_password',
|
{ 'command': 'set_password',
|
||||||
'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} }
|
'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue