Re: [PATCH v5 4/4] qapi/monitor: only allow 'keep' SetPasswordAction for VNC and deprecate

2021-10-20 Thread Markus Armbruster
Stefan Reiter writes: > VNC only supports 'keep' here, enforce this via a seperate > SetPasswordActionVnc enum and mark the option 'deprecated' (as it is > useless with only one value possible). > > Suggested-by: Eric Blake > Signed-off-by: Stefan Reiter > --- > monitor/qmp-cmds.c | 5 -

[PATCH v5 4/4] qapi/monitor: only allow 'keep' SetPasswordAction for VNC and deprecate

2021-10-19 Thread Stefan Reiter
VNC only supports 'keep' here, enforce this via a seperate SetPasswordActionVnc enum and mark the option 'deprecated' (as it is useless with only one value possible). Suggested-by: Eric Blake Signed-off-by: Stefan Reiter --- monitor/qmp-cmds.c | 5 - qapi/ui.json | 21