]> Git Repo - qemu.git/commit - monitor/qmp-cmds.c
qapi/monitor: allow VNC display id in set/expire_password
authorStefan Reiter <[email protected]>
Fri, 25 Feb 2022 08:49:49 +0000 (09:49 +0100)
committerDr. David Alan Gilbert <[email protected]>
Wed, 2 Mar 2022 18:12:40 +0000 (18:12 +0000)
commit675fd3c96b93abd50a3856089d832c0666dfab52
tree1e404ac1d7ad458a3b5b2c46c76e951d898eece7
parent7277db9103bc82a79cdd5db633560d2638fbfc33
qapi/monitor: allow VNC display id in set/expire_password

It is possible to specify more than one VNC server on the command line,
either with an explicit ID or the auto-generated ones à la "default",
"vnc2", "vnc3", ...

It is not possible to change the password on one of these extra VNC
displays though. Fix this by adding a "display" parameter to the
"set_password" and "expire_password" QMP and HMP commands.

For HMP, the display is specified using the "-d" value flag.

For QMP, the schema is updated to explicitly express the supported
variants of the commands with protocol-discriminated unions.

Signed-off-by: Stefan Reiter <[email protected]>
[FE: update "Since: " from 6.2 to 7.0
     make @connected a common member of @SetPasswordOptions]
Signed-off-by: Fabian Ebner <[email protected]>
Message-Id: <20220225084949[email protected]>
Acked-by: Markus Armbruster <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
hmp-commands.hx
monitor/hmp-cmds.c
monitor/qmp-cmds.c
qapi/ui.json
This page took 0.028559 seconds and 4 git commands to generate.