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

Ján Tomko jtomko at redhat.com
Tue Jun 25 08:46:40 UTC 2019


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 <seclabel> was used on a disk, the <privateData> would not be
>parsed.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/conf/domain_conf.c                     |  1 +
> tests/qemustatusxml2xmldata/modern-out.xml | 12 +++++++++++-
> 2 files changed, 12 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190625/0565db1b/attachment-0001.sig>


More information about the libvir-list mailing list