]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: introduce virDomainGraphicsListenAppendAddress
authorPavel Hrdina <phrdina@redhat.com>
Wed, 23 Mar 2016 07:55:46 +0000 (08:55 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 13 Apr 2016 08:43:49 +0000 (10:43 +0200)
commit4b75237fe60694dc16a04f3f5662fd2af1ab1eee
tree9bb87179900c225c9d321004ddfdef468d84ff1d
parentedebc16607dc2315d05587854249d3d5423a450e
domain_conf: introduce virDomainGraphicsListenAppendAddress

This effectively removes virDomainGraphicsListenSetAddress which was
used only to change the address of listen structure and possible change
the listen type.  The new function will auto-expand the listens array
and append a new listen.

The old function was used on pre-allocated array of listens and in most
cases it only "add" a new listen.  The two remaining uses can access the
listen structure directly.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_command.c
src/qemu/qemu_parse_command.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