libvirt/tests/qemustatusxml2xmldata
Peter Krempa 4fc8449691 conf: domain: Restore XPath context after virSecurityDeviceLabelDefParseXML
The function modifies the context but did not care to restore it back.
If a <seclabel> was used on a disk, the <privateData> would not be
parsed.

Use VIR_XPATH_NODE_AUTORESTORE and add a test case to validate that
everything works.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-06-25 16:42:28 +02:00
..
blockjob-mirror-in.xml conf: Parse and format 'backingStore' for disk <mirror> 2019-04-03 11:58:09 +02:00
blockjob-mirror-out.xml tests: qemuxml2xml: Add proper domain status XML testing 2018-03-13 13:54:11 +01:00
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 Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01:00
migration-in-params-in.xml Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01: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 Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01: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 Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01:00
migration-out-params-in.xml Revert "network: use 'bridge' as actual type instead of 'network'" 2019-04-30 14:42:34 +01: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 conf: domain: Restore XPath context after virSecurityDeviceLabelDefParseXML 2019-06-25 16:42:28 +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 tests: qemuxml2xml: Add proper domain status XML testing 2018-03-13 13:54:11 +01:00
vcpus-multi-out.xml tests: qemuxml2xml: Add proper domain status XML testing 2018-03-13 13:54:11 +01:00