search for: libxl_create_pci_backend

Displaying 3 results from an estimated 3 matches for "libxl_create_pci_backend".

2011 Jan 25
2
[PATCH] libxl: fix segfault on device assignement
...ni.tedesco@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> diff -r b05892ff0fce tools/libxl/libxl_pci.c --- a/tools/libxl/libxl_pci.c Tue Jan 25 15:14:52 2011 +0000 +++ b/tools/libxl/libxl_pci.c Tue Jan 25 15:34:43 2011 +0000 @@ -268,7 +268,7 @@ static int libxl_create_pci_backend(libx for (i = 0; i < num; i++, pcidev++) libxl_create_pci_backend_device(gc, back, i, pcidev); - flexarray_vappend(back, "num_devs", libxl__sprintf(gc, "%d", num)); + flexarray_vappend(back, "num_devs", libxl__sprintf(gc, "%d", num),...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...oolid_to_name(libxl_gc *gc, uint32_t poolid); #endif - diff -r 7b144fe8c528 tools/libxl/libxl_pci.c --- a/tools/libxl/libxl_pci.c Wed Aug 11 14:39:44 2010 +0100 +++ b/tools/libxl/libxl_pci.c Thu Aug 12 15:22:56 2010 +0100 @@ -195,8 +195,9 @@ parse_error: return ERROR_INVAL; } -static int libxl_create_pci_backend(libxl_ctx *ctx, uint32_t domid, libxl_device_pci *pcidev, int num) +static int libxl_create_pci_backend(libxl_gc *gc, uint32_t domid, libxl_device_pci *pcidev, int num) { + libxl_ctx *ctx = libxl_gc_owner(gc); flexarray_t *front; flexarray_t *back; unsigned int boffset = 0; @@ -2...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...return ERROR_FAIL; dom_path = libxl_xs_get_dompath(ctx, info->domid); + if (!dom_path) + return ERROR_FAIL; path = libxl_sprintf(ctx, "/local/domain/0/device-model/%d", info->domid); xs_mkdir(ctx->xsh, XBT_NULL, path); @@ -1017,7 +1028,7 @@ static int libxl_create_pci_backend(struct libxl_ctx *ctx, uint32_t domid, libxl if (!back) return ERROR_NOMEM; - XL_LOG(ctx, XL_LOG_DEBUG, "Creating pci backend\n"); + XL_LOG(ctx, XL_LOG_DEBUG, "Creating pci backend"); /* add pci device */ device.backend_devid = 0; @@ -1088,7 +10...