libvirt/tests/qemuxml2xmloutdata
Eric Blake b50e104923 blockjob: don't remove older-style mirror XML
Commit 7c6fc39 introduced a regression in the XML produced for older
clients.  The argument at the time was that clients shouldn't be
depending on output-only data for something that is only going to
be triggered for a transient guest; but John Ferlan reported that
the automated testsuite was such a client.  It's better to be safe
than sorry by guaranteeing back-compat cruft.  Note that later
patches will be using <mirror> for active block commit, but there
we don't have to worry about back-compat.

* src/conf/domain_conf.c (virDomainDiskDefFormat): Restore old
style output when necessary.
* docs/schemas/domaincommon.rng: Validate back-compat style.
* docs/formatdomain.html.in: Update the documentation.
* tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-mirror-old.xml:
Update tests.
* tests/qemuxml2argvdata/qemuxml2argv-disk-mirror.xml: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-06-16 13:48:00 -06:00
..
qemuxml2xmlout-balloon-device-auto.xml
qemuxml2xmlout-channel-virtio-auto.xml
qemuxml2xmlout-console-compat-auto.xml
qemuxml2xmlout-console-virtio.xml
qemuxml2xmlout-disk-backing-chains-active.xml tests: Test backing store XML formatting and parsing 2014-04-24 16:07:56 +02:00
qemuxml2xmlout-disk-backing-chains-inactive.xml tests: Test backing store XML formatting and parsing 2014-04-24 16:07:56 +02:00
qemuxml2xmlout-disk-drive-discard.xml conf: fix omission of <driver> in domain dumpxml 2014-04-16 10:49:07 +02:00
qemuxml2xmlout-disk-mirror-old-inactive.xml conf: alter disk mirror xml output 2014-06-06 11:48:09 -06:00
qemuxml2xmlout-disk-mirror-old.xml blockjob: don't remove older-style mirror XML 2014-06-16 13:48:00 -06:00
qemuxml2xmlout-disk-mirror.xml
qemuxml2xmlout-disk-scsi-device-auto.xml
qemuxml2xmlout-disk-source-pool.xml conf: better <disk> interleaving in schema 2014-04-15 11:45:02 +02:00
qemuxml2xmlout-graphics-listen-network2.xml conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
qemuxml2xmlout-graphics-spice-timeout.xml conf: Add keyboard input device type 2014-02-19 09:16:31 +01:00
qemuxml2xmlout-hostdev-scsi-autogen-address.xml
qemuxml2xmlout-memtune-unlimited.xml
qemuxml2xmlout-memtune.xml
qemuxml2xmlout-metadata.xml
qemuxml2xmlout-numad-auto-memory-vcpu-cpuset.xml
qemuxml2xmlout-numad-auto-memory-vcpu-no-cpuset-and-placement.xml
qemuxml2xmlout-numad-auto-vcpu-no-numatune.xml
qemuxml2xmlout-pci-autoadd-addr.xml
qemuxml2xmlout-pci-autoadd-idx.xml
qemuxml2xmlout-pci-bridge-many-disks.xml
qemuxml2xmlout-pcie-root.xml
qemuxml2xmlout-pcihole64-gib.xml
qemuxml2xmlout-q35.xml
qemuxml2xmlout-s390-defaultconsole.xml
qemuxml2xmlout-seclabel-dynamic-labelskip.xml
qemuxml2xmlout-serial-target-port-auto.xml
qemuxml2xmlout-usb-ich9-ehci-addr.xml