search for: libxl_device_model_start

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

2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
* Introduce new variants of the logging functions which include errno values (converted using strerror) in the messages passed to the application''s logging callback. * Use the new errno-including logging functions everywhere where appropriate. In general, xc_... functions return errno values or 0; xs_... functions return 0 or -1 (or some such) setting errno. * When
2010 Sep 02
7
[PATCH] libxl: make libxl communicate with xenstored by socket or xenbus driver
...this patch. -----------------------------------------Patch------------------------------------------------------ diff -r eff592364826 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Wed Sep 01 11:23:49 2010 +0100 +++ b/tools/libxl/libxl.c Thu Sep 02 14:51:46 2010 +0100 @@ -1387,10 +1387,8 @@ { libxl_device_model_starting *starting = for_spawn; char *kvs[3]; - int rc; struct xs_handle *xsh; - xsh = xs_daemon_open(); /* we mustn''t use the parent''s handle in the child */ kvs[0] = "image/device-model-pid"; @@ -1398,9 +1396,10 @@ return; kvs[2] =...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...xsh, t, 0)) if (errno == EAGAIN) goto retry_transaction; free(dmargs); + libxl_free_all(&gc); return 0; } @@ -1362,6 +1437,7 @@ static int libxl_create_stubdom(libxl_ct libxl_device_vkb *vkb, libxl_device_model_starting **starting_r) { + libxl_gc gc = LIBXL_INIT_GC(ctx); int i, num_console = 1, ret; libxl_device_console *console; libxl_domain_create_info c_info; @@ -1373,13 +1449,15 @@ static int libxl_create_stubdom(libxl_ct xs_transaction_t t; libxl_device_model_starting *dm_start...
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