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

Re: [Xen-devel] [PATCH 02/19] libxl: init: libxl__poller_init and _get take gc

On Tue, 2014-03-04 at 14:56 +0000, Ian Jackson wrote:
> Change libxl__poller_init and libxl__poller__get to take a libxl__gc*
> rather than a libxl_ctx*.  The gc is not used for memory allocation
> but simply to provide the standard local variable "gc" expected by the
> convenience macros.  Doing this makes the error logging more
> convenient.
> Hence, convert the logging calls to use the LOG* convenience macros.
> And consequently, change the call sites, and the function bodies to
> use CTX rather than ctx.
> Also convert a call to malloc() (with error check) in
> libxl__poller_get, to libxl__zalloc (no error check needed).
> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> CC: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Xen-devel mailing list



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