qemu-e2k/monitor
Stefan Reiter 675fd3c96b 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 <s.reiter@proxmox.com>
[FE: update "Since: " from 6.2 to 7.0
     make @connected a common member of @SetPasswordOptions]
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Message-Id: <20220225084949.35746-4-f.ebner@proxmox.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2022-03-02 18:12:40 +00:00
..
hmp-cmds.c qapi/monitor: allow VNC display id in set/expire_password 2022-03-02 18:12:40 +00:00
hmp.c monitor/hmp: add support for flag argument with value 2022-03-02 18:12:40 +00:00
meson.build
misc.c exec/exec-all: Move 'qemu/log.h' include in units requiring it 2022-02-21 10:18:06 +01:00
monitor-internal.h monitor/hmp: add support for flag argument with value 2022-03-02 18:12:40 +00:00
monitor.c
qmp-cmds-control.c
qmp-cmds.c qapi/monitor: allow VNC display id in set/expire_password 2022-03-02 18:12:40 +00:00
qmp.c
trace-events
trace.h