Re: [libvirt] [PATCH 3/3] conf: domain: Restore XPath context after virSecurityDeviceLabelDefParseXML

2019-06-25 Thread Ján Tomko
On Mon, Jun 24, 2019 at 06:27:13PM +0200, Peter Krempa wrote: The function modifies the context but did not care to restore it back. If a was used on a disk, the would not be parsed. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 1 +

[libvirt] [PATCH 3/3] conf: domain: Restore XPath context after virSecurityDeviceLabelDefParseXML

2019-06-24 Thread Peter Krempa
The function modifies the context but did not care to restore it back. If a was used on a disk, the would not be parsed. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 1 + tests/qemustatusxml2xmldata/modern-out.xml | 12 +++- 2 files changed, 12