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

Re: [Xen-devel] [PATCH 15/15] libxl: New event generation API



Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 15/15] libxl: New event 
generation API"):
> +_hidden libxl__gc *libxl__init_gc(struct libxl__ctx *ctx);
> +#define GC_INIT(ctx)  libxl__gc *gc = libxl__init_gc(ctx); if (gc == NULL) 
> return ERROR_NOMEM;

Also of course not all functions which use GC_INIT currently return a
libxl error code.  Here is a counterexample:

  libxl__qmp_handler *libxl__qmp_initialize(libxl_ctx *ctx, uint32_t domid)
  {
      int ret = 0;
      libxl__qmp_handler *qmp = NULL;
      char *qmp_socket;
      GC_INIT(ctx);

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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