]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_process: graphics: setup listen types before ports are reserved/allocated
authorPavel Hrdina <phrdina@redhat.com>
Sat, 13 Aug 2016 19:29:38 +0000 (21:29 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 17 Aug 2016 08:06:47 +0000 (10:06 +0200)
commitf0551b9bc4ec1c379c72dbf3f1ea7daa80b18ba9
treec44912e632f6348ca8dc70f37a6eb99e47e5912f
parentbe51dcb8524146ad93b31856fb3a06be863dde00
qemu_process: graphics: setup listen types before ports are reserved/allocated

The code that setups listen types may change a listen type from address to
socket based on configuration from qemu.conf.  This needs to be done before we
reserve/allocate ports that won't be used.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1364843

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_process.c