libvirt/tests/genericxml2xmlindata
Pavel Hrdina f19390d2d3 domain_conf: vnc: preserve autoport value if no port was specified
The issue is that if this graphics definition is provided:

  <graphics type='vnc' port='0'/>

it's parsed as:

  <graphics type='vnc' autoport='no'>
    <listen type='address'/>
  </graphics>

but if the resulting XML is parsed again the output is:

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

and this should not happen.  The XML have to always remain the same
after it was already parsed by libvirt.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1383039

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-01-27 09:46:03 +01:00
..
generic-disk-virtio.xml
generic-graphics-listen-back-compat-mismatch.xml
generic-graphics-listen-back-compat.xml
generic-graphics-vnc-autoport-no.xml domain_conf: vnc: preserve autoport value if no port was specified 2017-01-27 09:46:03 +01:00
generic-graphics-vnc-listen-attr-only.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-listen-element-minimal.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-listen-element-with-address.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-manual-port.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-minimal.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-socket-attr-listen-address.xml vnc: add support for listen type 'socket' 2016-06-09 14:42:48 +02:00
generic-graphics-vnc-socket-attr-listen-socket-mismatch.xml vnc: add support for listen type 'socket' 2016-06-09 14:42:48 +02:00
generic-graphics-vnc-socket-attr-listen-socket.xml vnc: add support for listen type 'socket' 2016-06-09 14:42:48 +02:00
generic-graphics-vnc-socket-listen.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-graphics-vnc-socket.xml genericxml2xml: add several graphics tests 2016-05-06 15:53:16 +02:00
generic-name-slash-fail.xml conf: domain: reject name containing '/' 2016-05-02 10:06:04 -04:00
generic-perf.xml Revert "perf: Add cache_l1d perf event support" 2017-01-16 16:54:34 +00:00
generic-vcpus-individual.xml conf: Add XML for individual vCPU hotplug 2016-08-24 15:44:47 -04:00