[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [PATCH V4] libxl: make libxl communicate with xenstored by socket or xenbus driver
On Tue, 2010-09-14 at 17:27 +0100, Ian Jackson wrote: > Jun Zhu (Intern) writes ("RE: [Xen-devel] [PATCH V4] libxl: make libxl > communicate with xenstored by socket or xenbus driver"): > > Since libxl__xs_open does not ctx which LIBXL__LOG needs, so I choose to > > output log with the raw fprintf. > > Then the right answer is to make it take a ctx parameter, surely ? gc->owner contains the surrounding context, doesn't it? Actually you probably want to use libxl__gc_owner(). > And ensure that during initialisation, the logging is initialised > before the xenstore connection.) This seems to be the case in libxl_ctx_init(). Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |