]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: format only relevant attributes for graphics based on listen type
authorPavel Hrdina <phrdina@redhat.com>
Wed, 26 Apr 2017 10:47:49 +0000 (12:47 +0200)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 22:02:39 +0000 (18:02 -0400)
commit6287e7ea4a47e6035df91548bbc4983628898d23
tree32f81b7d618820e8b7ce8f9611927033152574e0
parenta050815a268447dede6a49445885ab4db32824e6
conf: format only relevant attributes for graphics based on listen type

This patch changes following output:

    ...
    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='none'/>
    </graphics>
    ...

into this output:

    ...
    <graphics type='vnc'>
      <listen type='none'/>
    </graphics>
    ...

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
(cherry picked from commit 2b7d516434190ae4da44aee3b9ae98f776d912a0)
src/conf/domain_conf.c