search for: libxl_ptr_add

Displaying 4 results from an estimated 4 matches for "libxl_ptr_add".

2010 Aug 13
4
[PATCH] xl: Make blktap support optional
Make blktap support optional. Enable it by default on Linux, disable it on non-Linux. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen,
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...c, const char *name, const char *type) { char *params, *devname = NULL; int err; - params = libxl_sprintf(ctx, "%s:%s", type, name); + params = libxl_sprintf(gc, "%s:%s", type, name); err = tap_ctl_create(params, &devname); if (!err) - libxl_ptr_add(ctx, devname); + libxl_ptr_add(gc, devname); return err ? NULL : devname; } int libxl_device_disk_add(libxl_ctx *ctx, uint32_t domid, libxl_device_disk *disk) { + libxl_gc gc = LIBXL_INIT_GC(ctx); flexarray_t *front; flexarray_t *back; char *backend_type; @@ -1621...
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
Hi, George sent a patch on this problem before, but it was not completed. This patch makes libxl use xenbus to communicate with xenstored if libxl cannot open a socket. There''s a place that does not close fd in the case of failure, which is also fixed in this patch. -----------------------------------------Patch------------------------------------------------------ diff -r eff592364826
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...char *path) char *libxl_xs_get_dompath(struct libxl_ctx *ctx, uint32_t domid) { char *s = xs_get_domain_path(ctx->xsh, domid); + if (!s) { + XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "failed to get dompath for %lu", + domid); + return NULL; + } libxl_ptr_add(ctx, s); return s; } -- 1.5.6.5 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel