Re: [libvirt] [PATCH v2 2/4] libvirt: conf: parse XML for protected key management ops

2015-05-18 Thread John Ferlan
On 05/15/2015 10:43 AM, Michal Privoznik wrote: ... Coverity complaint... > +static int > +virDomainKeyWrapDefParseXML(virDomainDefPtr def, xmlXPathContextPtr ctxt) > +{ > +size_t i; > +int ret = -1; > +xmlNodePtr *nodes = NULL; > +int n; > + > +if (!(n = virXPathNodeSet("./

Re: [libvirt] [PATCH v2 2/4] libvirt: conf: parse XML for protected key management ops

2015-05-15 Thread Ján Tomko
On Fri, May 15, 2015 at 04:43:28PM +0200, Michal Privoznik wrote: > From: Tony Krowiak > > Parse the domain configuration XML elements that enable/disable access to > the protected key management operations for a guest: > > > ... > > > > ... > > > Si

[libvirt] [PATCH v2 2/4] libvirt: conf: parse XML for protected key management ops

2015-05-15 Thread Michal Privoznik
From: Tony Krowiak Parse the domain configuration XML elements that enable/disable access to the protected key management operations for a guest: ... ... Signed-off-by: Tony Krowiak Signed-off-by: Viktor Mihajlovski Signed-off-by: Daniel Hansel Re