]> git.ipfire.org Git - thirdparty/libvirt.git/commit
graphics: make address attribute for listen type='address' optional
authorPavel Hrdina <phrdina@redhat.com>
Mon, 9 May 2016 13:50:54 +0000 (15:50 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 17 May 2016 08:41:45 +0000 (10:41 +0200)
commitb33c14b342e5c2abeeee91c852ef2032327cb355
tree97ba3c9c11d1833dd396f23a465940cbe6cd8af4
parent38c9973f36ce962079fd2f717ad358fe82d246f4
graphics: make address attribute for listen type='address' optional

We support omitting listen attribute of graphics element so we should
also support omitting address attribute of listen element.  This patch
also updates libvirt to always add a listen element into domain XML
except for VNC graphics if socket attribute is specified.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
48 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/qemu/qemu_process.c
src/vbox/vbox_common.c
src/vmx/vmx.c
src/xenconfig/xen_common.c
src/xenconfig/xen_sxpr.c
src/xenconfig/xen_xl.c
tests/genericxml2xmloutdata/generic-graphics-vnc-manual-port.xml
tests/genericxml2xmloutdata/generic-graphics-vnc-minimal.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-interface-server.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-net-bandwidth.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-net-bandwidth2.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-video-virtio-gpu-spice-gl.xml
tests/sexpr2xmldata/sexpr2xml-curmem.xml
tests/sexpr2xmldata/sexpr2xml-fv-autoport.xml
tests/sexpr2xmldata/sexpr2xml-fv-empty-kernel.xml
tests/sexpr2xmldata/sexpr2xml-fv-force-hpet.xml
tests/sexpr2xmldata/sexpr2xml-fv-force-nohpet.xml
tests/sexpr2xmldata/sexpr2xml-fv-localtime.xml
tests/sexpr2xmldata/sexpr2xml-fv-net-netfront.xml
tests/sexpr2xmldata/sexpr2xml-fv-parallel-tcp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-dev-2-ports.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-dev-2nd-port.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-file.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-null.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-pipe.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-pty.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-stdio.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp-telnet.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-tcp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-udp.xml
tests/sexpr2xmldata/sexpr2xml-fv-serial-unix.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
tests/sexpr2xmldata/sexpr2xml-fv-usbmouse.xml
tests/sexpr2xmldata/sexpr2xml-fv-usbtablet.xml
tests/sexpr2xmldata/sexpr2xml-fv-utc.xml
tests/sexpr2xmldata/sexpr2xml-fv-v2.xml
tests/sexpr2xmldata/sexpr2xml-fv.xml
tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
tests/sexpr2xmldata/sexpr2xml-pv-vfb-type-crash.xml
tests/sexpr2xmldata/sexpr2xml-vif-rate.xml
tests/vmx2xmldata/vmx2xml-graphics-vnc.xml
tests/xmconfigdata/test-no-source-cdrom.xml
tests/xmconfigdata/test-pci-devs.xml