domain_conf: introduce virDomainGraphicsListenDefFormatAddr
domain_conf: introduce virDomainGraphicsListenDefFormatAddr

Move code that decide whether we print the 'listen' attribute or not
into virDomainGraphicsListenDefFormatAddr() function.

Signed-off-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

crobinso/libvirt,crobinso/libvirt,datto/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,eskultety/libvirt,zippy2/libvirt,libvirt/libvirt,andreabolognani/libvirt,zippy2/libvirt,taget/libvirt,nertpinx/libvirt,taget/libvirt,eskultety/libvirt,datto/libvirt,datto/libvirt,jardasgit/libvirt,taget/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,olafhering/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,eskultety/libvirt,andreabolognani/libvirt,crobinso/libvirt,datto/libvirt,jfehlig/libvirt,jfehlig/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,VenkatDatta/libvirt,eskultety/libvirt,jfehlig/libvirt,crobinso/libvirt,taget/libvirt,zippy2/libvirt,olafhering/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,jfehlig/libvirt,olafhering/libvirt,olafhering/libvirt,fabianfreyer/libvirt,libvirt/libvirt,fabianfreyer/libvirt,libvirt/libvirt,VenkatDatta/libvirt,datto/libvirt,taget/libvirt,nertpinx/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt