[libvirt] [PATCH v2 04/11] Don't use VIR_DOMAIN_XML_SECURE when parsing XML
Jiri Denemark
jdenemar at redhat.com
Tue Jan 13 10:28:40 UTC 2015
On Thu, Jan 08, 2015 at 15:48:15 +0000, Daniel Berrange wrote:
> The VIR_DOMAIN_XML_SECURE flag only has effect on the formatting
> of XML so should not be passed to virDomainDefParseNode
> ---
> src/conf/snapshot_conf.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/conf/snapshot_conf.c b/src/conf/snapshot_conf.c
> index 79cf124..d9339c3 100644
> --- a/src/conf/snapshot_conf.c
> +++ b/src/conf/snapshot_conf.c
> @@ -287,8 +287,7 @@ virDomainSnapshotDefParse(xmlXPathContextPtr ctxt,
> def->dom = virDomainDefParseNode(ctxt->node->doc, domainNode,
> caps, xmlopt,
> expectedVirtTypes,
> - (VIR_DOMAIN_XML_INACTIVE |
> - VIR_DOMAIN_XML_SECURE));
> + VIR_DOMAIN_XML_INACTIVE);
> if (!def->dom)
> goto cleanup;
> } else {
ACK
Jirka
More information about the libvir-list
mailing list