[PATCH v5 0/3] qapi/ui: change vnc addresses

Vladimir Sementsov-Ogievskiy posted 3 patches 2 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220401143936.356460-1-vsementsov@openvz.org
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Markus Armbruster <armbru@redhat.com>, Eric Blake <eblake@redhat.com>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
docs/about/removed-features.rst |   3 +-
qapi/ui.json                    |  65 ++++++++++++++
include/ui/console.h            |   1 +
monitor/qmp-cmds.c              |  15 ++++
ui/vnc.c                        | 152 ++++++++++++++++----------------
tests/avocado/vnc.py            |  63 +++++++++++++
6 files changed, 220 insertions(+), 79 deletions(-)
[PATCH v5 0/3] qapi/ui: change vnc addresses
Posted by Vladimir Sementsov-Ogievskiy 2 years, 1 month ago
v5: tiny tweaks, add r-bs

Recently our customer requested a possibility to change VNC listen port
dynamically.

Happily in Rhel7-based Qemu we already have this possibility: through
deprecated "change" qmp command.

But since 6.0 "change" qmp command was removed, with recommendation to
use change-vnc-password or blockdev-change-medium instead. Of course,
neither of them allow change VNC listen port.

So, let's reimplement the possibility.

Vladimir Sementsov-Ogievskiy (3):
  ui/vnc: refactor arrays of addresses to SocketAddressList
  qapi/ui: add 'display-update' command for changing listen address
  avocado/vnc: add test_change_listen

 docs/about/removed-features.rst |   3 +-
 qapi/ui.json                    |  65 ++++++++++++++
 include/ui/console.h            |   1 +
 monitor/qmp-cmds.c              |  15 ++++
 ui/vnc.c                        | 152 ++++++++++++++++----------------
 tests/avocado/vnc.py            |  63 +++++++++++++
 6 files changed, 220 insertions(+), 79 deletions(-)

-- 
2.35.1