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

Re: [Xen-devel] [PATCH v3 3/5] libxl: use LIBXL_TOOLSTACK_DOMID



On Fri, Apr 24, 2015 at 10:49:36AM +0200, Olaf Hering wrote:
> On Fri, Mar 20, Wei Liu wrote:
> 
> > +++ b/tools/libxl/libxl_dm.c
> > @@ -1438,6 +1438,8 @@ retry_transaction:
> >  
> >      spawn->what = GCSPRINTF("domain %d device model", domid);
> >      spawn->xspath = GCSPRINTF("/local/domain/0/device-model/%d/state", 
> > domid);
> > +    spawn->xspath = libxl__device_model_xs_path(gc, LIBXL_TOOLSTACK_DOMID,
> > +                                                domid, "/state");
> 
> This assigns xspath twice.
> 

Good spot. I will send a patch to fix this. Luckily this doesn't cause
practical problem except for wasting some memory. :-)

Wei.

> Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.