libvirt/tests/genericxml2xmloutdata
Huaqiang 1d0c3c3a62 cachetune schema: a looser check for the order of <cache> and <monitor> element
Originally, inside <cputune/cachetune>, it requires the <cache> element to
be in the position before <monitor>, and following configuration is not
permitted by schema, but it is better to let it be valid.

  <cputune>
    <cachetune vcpus='0-1'>
      <monitor level='3' vcpus='0-1'/>
            ^
            |__ Not permitted originally because it is in the place
                before <cache> element.

      <cache id='0' level='3' type='both' size='3' unit='MiB'/>
      <cache id='1' level='3' type='both' size='3' unit='MiB'/>
    </cachetune>
    ...
  </cputune>

And, let schema do more strict check by identifying following configuration to
be invalid, due to <cachetune> should contain at least one <cache> or <monitor>
element.

  <cputune>
    <cachetune vcpus='0-1'>
        ^
        |__ a <cachetune> SHOULD contain at least one <cache> or <monitor>

    </cachetune>
    ...
  </cputune>

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Huaqiang <huaqiang.wang@intel.com>
2019-12-13 15:31:26 +00:00
..
cachetune-extra-tunes.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune.xml cachetune schema: a looser check for the order of <cache> and <monitor> element 2019-12-13 15:31:26 +00:00
chardev-reconnect.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-udp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cputune.xml conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
disk-virtio.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-listen-back-compat.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-attr-only.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-element-minimal.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-listen-element-with-address.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-manual-port.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-minimal.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-attr-listen-address.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-attr-listen-socket.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket-listen.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
graphics-vnc-socket.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00