summary refs log tree commit diff stats
path: root/util/qemu-option.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-02-03 12:06:47 +0000
committerGerd Hoffmann <kraxel@redhat.com>2017-02-09 17:28:49 +0100
commit57a6d6d538c596292003d131035dc4f7cb44474d (patch)
tree01cff100bed5d043c495d7a78c74f3df98a5040c /util/qemu-option.c
parent8bd22f477f68bbd7a9c88e926e7a58bf65605e39 (diff)
downloadfocaccia-qemu-57a6d6d538c596292003d131035dc4f7cb44474d.tar.gz
focaccia-qemu-57a6d6d538c596292003d131035dc4f7cb44474d.zip
ui: let VNC server listen on all resolved IP addresses
Remove the limitation that the VNC server can only listen on
a single resolved IP address. This uses the new DNS resolver
API to resolve a SocketAddress struct into an array of
SocketAddress structs containing raw IP addresses. The VNC
server will then attempt to listen on all resolved IP addresses.
The server must successfully listen on at least one of the
resolved IP addresses, otherwise an error will be reported.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170203120649.15637-7-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util/qemu-option.c')
0 files changed, 0 insertions, 0 deletions