aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vladimir.sementsov-ogievskiy@openvz.org>2022-04-01 17:39:35 +0300
committerGerd Hoffmann <kraxel@redhat.com>2022-04-27 07:51:01 +0200
commitabea19468e94821d098e546f0cafc9da759bc929 (patch)
tree4e896db7c8df22c6e9c42b142985354d55bd332e /include/ui
parentd708f99d8508ca6de2ff07cf9723334e6c8ecacd (diff)
downloadqemu-abea19468e94821d098e546f0cafc9da759bc929.zip
qemu-abea19468e94821d098e546f0cafc9da759bc929.tar.gz
qemu-abea19468e94821d098e546f0cafc9da759bc929.tar.bz2
qapi/ui: add 'display-update' command for changing listen address
Add possibility to change addresses where VNC server listens for new connections. Prior to 6.0 this functionality was available through 'change' qmp command which was deleted. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220401143936.356460-3-vsementsov@openvz.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 0f84861..c44b28a 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -518,6 +518,7 @@ int vnc_display_pw_expire(const char *id, time_t expires);
void vnc_parse(const char *str);
int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp);
bool vnc_display_reload_certs(const char *id, Error **errp);
+bool vnc_display_update(DisplayUpdateOptionsVNC *arg, Error **errp);
/* input.c */
int index_from_key(const char *key, size_t key_length);