Skip to content

vnc: remove "change vnc TARGET" and QMP change command, support "-vnc help"

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hmp: remove "change vnc TARGET" commanddocs/system/removed-features.rst hmp-commands.hx monitor/hmp-cmds.c+11 -81 reply
2/3qmp: remove deprecated "change" commanddocs/system/deprecated.rst docs/system/removed-features.rst monitor/qmp-cmds.c +1 more+5 -1052 replies
3/3vnc: support "-vnc help"include/ui/console.h softmmu/vl.c ui/vnc-stubs.c +1 more+11 -121 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéEric BlakeGerd Hoffmann
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] vnc: remove "change vnc TARGET" and QMP change command, support "-vnc help"

The real driver for these patches is to send all QemuOpts user input to qemu_opts_parse_noisily, for consistency in the command line parsing code and to effectively outlaw "help" and "?" QemuOpts suboptions. vnc_parse is the only function that is still using qemu_opts_parse.

In order to remove the non-command-line callers of vnc_parse, I am removing the deprecated QMP change command but also its HMP veneer "change vnc TARGET", whose usecase is somewhat unclear to me. "change vnc password" is still supported.

Finally, by switching to qemu_opts_parse_noisily, it is easy to print a help message on "-vnc help".

Paolo Bonzini (3):
hmp: remove "change vnc TARGET" command
qmp: remove deprecated "change" command
vnc: support "-vnc help"

 docs/system/deprecated.rst       |  5 ----
 docs/system/removed-features.rst | 11 +++++++
 hmp-commands.hx                  |  6 ----
 include/ui/console.h             |  2 +-
 monitor/hmp-cmds.c               |  7 +++--
 monitor/qmp-cmds.c               | 51 --------------------------------
 qapi/misc.json                   | 49 ------------------------------
 softmmu/vl.c                     |  6 ++--
 ui/vnc-stubs.c                   |  7 ++---
 ui/vnc.c                         |  8 ++---
 10 files changed, 27 insertions(+), 125 deletions(-)
Signature · 1 line
2.29.2