Displaying 3 results from an estimated 3 matches for "libxl__file_reference_unmap".
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...cdb947baea10 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Thu May 17 16:39:51 2012 +0100
+++ b/tools/libxl/libxl.c Thu May 17 17:51:32 2012 +0100
@@ -3623,12 +3623,6 @@ int libxl_tmem_freeable(libxl_ctx *ctx)
return rc;
}
-void libxl_file_reference_dispose(libxl_file_reference *f)
-{
- libxl__file_reference_unmap(f);
- free(f->path);
-}
-
int libxl_get_freecpus(libxl_ctx *ctx, libxl_cpumap *cpumap)
{
int ncpus;
diff -r ac45608496cd -r cdb947baea10 tools/libxl/libxl.h
--- a/tools/libxl/libxl.h Thu May 17 16:39:51 2012 +0100
+++ b/tools/libxl/libxl.h Thu May 17 17:51:32 2012 +0100
@@ -288,18 +288...
2012 Jan 26
1
[PATCH v2] libxl: fix mutex initialization
...__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "Is xenstore daemon running?\n"
diff -r f581bb82fecd -r 259112aee618 tools/libxl/libxl_internal.c
--- a/tools/libxl/libxl_internal.c Sat Jan 14 19:04:48 2012 +0100
+++ b/tools/libxl/libxl_internal.c Sat Jan 14 19:04:48 2012 +0100
@@ -296,6 +296,33 @@ int libxl__file_reference_unmap(libxl_fi
return 0;
}
+_hidden int libxl__init_recursive_mutex(libxl_ctx *ctx, pthread_mutex_t *lock)
+{
+ pthread_mutexattr_t attr;
+ int rc = 0;
+
+ if (pthread_mutexattr_init(&attr) != 0) {
+ LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR,
+ "Fail...
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