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
..
2013-12-02 10:21:26 +08:00
2013-12-02 11:59:18 -07:00
2013-12-02 10:21:26 +08:00
2014-03-01 23:44:58 +04:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2014-02-18 14:46:49 +01:00
2014-03-01 23:44:58 +04:00
2009-07-16 15:06:42 +02:00
2014-06-02 09:47:05 +08:00
2009-07-29 09:04:21 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2013-11-26 18:37:09 +08:00
2014-03-01 23:44:58 +04:00