libvirt/tests/genericxml2xmlindata
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-cdp.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-allocs.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-monitor.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-tunes.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-colliding-types.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-extra-tunes.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
cachetune-small.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-invalid-mode.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-reconnect-missing-timeout.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-reconnect.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp-missing-host.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp-missing-service.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-tcp-multiple-source.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-missing-connect-service.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-udp-multiple-source.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-redirdev-missing-path.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix-rng-missing-path.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
chardev-unix-smartcard-missing-path.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
cpu-cache-disable.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
cpu-cache-emulate.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
cpu-cache-passthrough.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
cputune.xml conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
disk-network-http.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00: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-mismatch.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-autoport-no.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-mismatch.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
launch-security-sev.xml conf: prefer camelCase for launchSecurity 2018-06-13 14:42:17 +02:00
memorytune-colliding-allocs.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
memorytune-colliding-cachetune.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
memorytune.xml tests: fix name of 32-bit x86 QEMU binary 2019-12-03 13:57:44 +00:00
name-slash-fail.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
perf.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00
tseg.xml conf, schema, docs: Add support for TSEG size setting 2018-06-08 10:28:46 +02:00
vcpus-individual.xml test: Drop useless prefix for genericxml2xml test data 2017-12-05 14:52:49 +01:00