diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-07 11:17:51 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-01-18 10:23:38 -0200 |
commit | fbf796fd6f855313d2c02b7d8e1a0c4241b1e0b6 (patch) | |
tree | 789cec2028477461ecfcc3b5b159b14464360aff /qapi-schema.json | |
parent | a6aa9d3e2681199d159963e46524625d90669619 (diff) | |
download | qemu-fbf796fd6f855313d2c02b7d8e1a0c4241b1e0b6.zip qemu-fbf796fd6f855313d2c02b7d8e1a0c4241b1e0b6.tar.gz qemu-fbf796fd6f855313d2c02b7d8e1a0c4241b1e0b6.tar.bz2 |
qapi: Convert set_password
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 44cf764..092ff6e 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1275,3 +1275,32 @@ { 'command': 'qom-set', 'data': { 'path': 'str', 'property': 'str', 'value': 'visitor' }, 'gen': 'no' } + +## +# @set_password: +# +# Sets the password of a remote display session. +# +# @protocol: `vnc' to modify the VNC server password +# `spice' to modify the Spice server password +# +# @password: the new password +# +# @connected: #optional how to handle existing clients when changing the +# password. If nothing is specified, defaults to `keep' +# `fail' to fail the command if clients are connected +# `disconnect' to disconnect existing clients +# `keep' to maintain existing clients +# +# Returns: Nothing on success +# If Spice is not enabled, DeviceNotFound +# If @protocol does not support connected, InvalidParameter +# If @protocol is invalid, InvalidParameter +# If any other error occurs, SetPasswdFailed +# +# Notes: If VNC is not enabled, SetPasswdFailed is returned. +# +# Since: 0.14.0 +## +{ 'command': 'set_password', + 'data': {'protocol': 'str', 'password': 'str', '*connected': 'str'} } |