search for: flexarray_set

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

2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...libxl_device_nic *vifs, int num_vifs) @@ -974,13 +1044,14 @@ static char ** libxl_build_device_model_ int num = 0, i; flexarray_t *dm_args; dm_args = flexarray_make(16, 1); + if (!dm_args) return NULL; flexarray_set(dm_args, num++, "qemu-dm"); flexarray_set(dm_args, num++, "-d"); - flexarray_set(dm_args, num++, libxl_sprintf(ctx, "%d", info->domid)); + flexarray_set(dm_args, num++, libxl_sprintf(gc, "%d", info->domid)); if (info->dom_name) {...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces previous postings of those patches. The main difference is that the xl cfg file is now formatted using POD instead of markdown and presented as a manpage. I have setup a cron job to build docs/html and publish it at http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now). The motivation for some of these patches
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...vice_pci_add_xenstore(struct libxl_ctx *ctx, uint32_t domid, if (!back) return ERROR_NOMEM; - XL_LOG(ctx, XL_LOG_DEBUG, "Adding new pci device to xenstore\n"); + XL_LOG(ctx, XL_LOG_DEBUG, "Adding new pci device to xenstore"); num = atoi(num_devs); flexarray_set(back, boffset++, libxl_sprintf(ctx, "key-%d", num)); flexarray_set(back, boffset++, libxl_sprintf(ctx, PCI_BDF, pcidev->domain, pcidev->bus, pcidev->dev, pcidev->func)); @@ -1140,7 +1151,7 @@ static int libxl_device_pci_remove_xenstore(struct libxl_ctx *ctx, uint32_t domi...