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
..
2019-06-20 12:15:05 +02:00
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2019-06-20 12:15:05 +02:00
2019-02-12 10:14:53 +01:00