libvirt/tests/qemustatusxml2xmldata
Peter Krempa 0c10edadde qemu: domain: Modify <migrationSource> to look like <disk>
When adding <migrationSource> I've used a slightly unusual approach. To
allow using the disk source XML parser and formatter convert
<migrationSource> to look like <disk>. This means that <source> will be
added as a subelement of <migrationSource> rather than being formatted
inline.

Conversion from the old format in the parser is very simple as it
involves only moving the XPath context current node slightly if the new
format is found.

The status XML to XML test shows that the upgrade is done correctly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-04-03 11:58:09 +02:00
..
blockjob-mirror-in.xml tests: qemuxml2xml: Add synthetic test for <lockstate> in status XML 2018-03-13 13:54:11 +01:00
blockjob-mirror-out.xml
disk-secinfo-upgrade-in.xml qemu: domain: Regenerate alias for the TLS x509 credential object 2018-06-05 08:13:57 +02:00
disk-secinfo-upgrade-out.xml qemu: domain: Regenerate alias for the TLS x509 credential object 2018-06-05 08:13:57 +02:00
migration-in-params-in.xml tests: qemu: Extend the test suite with the 'output' sound codec 2018-05-23 09:51:53 +02:00
migration-in-params-out.xml qemuxml2xmltest: Add status XML tests for migration params 2018-04-17 10:46:23 +02:00
migration-out-nbd-in.xml tests: qemu: Extend the test suite with the 'output' sound codec 2018-05-23 09:51:53 +02:00
migration-out-nbd-out.xml tests: qemu: Extend the test suite with the 'output' sound codec 2018-05-23 09:51:53 +02:00
migration-out-nbd-tls-in.xml qemu: domain: Modify <migrationSource> to look like <disk> 2019-04-03 11:58:09 +02:00
migration-out-nbd-tls-out.xml qemu: domain: Modify <migrationSource> to look like <disk> 2019-04-03 11:58:09 +02:00
migration-out-params-in.xml tests: qemu: Extend the test suite with the 'output' sound codec 2018-05-23 09:51:53 +02:00
migration-out-params-out.xml qemuxml2xmltest: Add status XML tests for migration params 2018-04-17 10:46:23 +02:00
modern-in.xml qemu: domain: Add field for storing node name for copy-on-read 2018-08-21 15:46:06 +02:00
modern-out.xml tests: qemuxml2xml: Add modern example of status XML to the test 2018-03-13 13:54:11 +01:00
vcpus-multi-in.xml
vcpus-multi-out.xml