Re: [PATCH v2 04/11] Don't use VIR_DOMAIN_XML_SECURE when parsing XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]