search for: libxl_disk_phystype

Displaying 5 results from an estimated 5 matches for "libxl_disk_phystype".

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 27
3
[PATCH 0 of 3] libxl: cleanups for type destructor generation
Following series cleans up a few niggles in the libxl destructor autogeneration. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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
2010 Sep 09
2
[PATCH]: add libxl python binding
...= Builtin("ctx") libxl_uuid = Builtin("uuid") libxl_mac = Builtin("mac") -libxl_qemu_machine_type = Builtin("qemu_machine_type") -libxl_console_consback = Builtin("console_consback") -libxl_console_constype = Builtin("console_constype") -libxl_disk_phystype = Builtin("disk_phystype") -libxl_nic_type = Builtin("nic_type") +libxl_qemu_machine_type = Number("qemu_machine_type", namespace="libxl_") +libxl_console_consback = Number("console_consback", namespace="libxl_") +libxl_console_constype =...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...0)) { if (errno == EAGAIN) @@ -94,7 +98,10 @@ retry_transaction: else XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "xs transaction failed"); } - return 0; + rc = 0; +out: + libxl_free_all(&gc); + return rc; } char *device_disk_string_of_phystype(libxl_disk_phystype phystype) @@ -221,35 +228,43 @@ int device_disk_dev_number(char *virtpat int libxl_device_destroy(libxl_ctx *ctx, char *be_path, int force) { + libxl_gc gc = LIBXL_INIT_GC(ctx); xs_transaction_t t; - char *state_path = libxl_sprintf(ctx, "%s/state", be_path); - char *sta...