]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain_conf: call ...ListensParseXML only for appropriate graphics
authorPavel Hrdina <phrdina@redhat.com>
Thu, 7 Apr 2016 11:08:58 +0000 (13:08 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 13 Apr 2016 08:43:49 +0000 (10:43 +0200)
commitea4fc80230ce7c3ecfc7321ad359533722cafdab
tree05e270273ff71321b964b10d78c3f146a082c920
parent40d246d2822e9973bd72b564af26f8605c75c0f4
domain_conf: call ...ListensParseXML only for appropriate graphics

Instead of calling the virDomainGraphicsListensParseXML function for all
graphics types and ignore the wrong ones move the call only to graphics
types where we supports listen elements.

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