Displaying 3 results from an estimated 3 matches for "libxl__userdata_destroyall".
2011 May 13
0
Bug#626644: xen-utils-4.1: xl fails because /var/lib/xen is missing
...rror: libxl_dom.c:718:libxl_userdata_store cannot write /var/lib/xen/userdata-n.3.71d22787-7fff-4553-9cbb-7ff6fa9866b3.xl for /var/lib/xen/userdata-d.3.71d22787-7fff-4553-9cbb-7ff6fa9866b3.xl: No such file or directory
cannot save config file: No such file or directory
libxl: error: libxl_dom.c:645:libxl__userdata_destroyall glob failed for /var/lib/xen/userdata-?.3.71d22787-7fff-4553-9cbb-7ff6fa9866b3.*: No such file or directory
xenconsole: Could not read tty from store: No such file or directory
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (700, 'stable'), (650, 'test...
2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...network output buffer */
diff -r 30bf79cc14d9 -r 7cec0543f67c tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h Wed Aug 15 14:45:21 2012 +0100
+++ b/tools/libxl/libxl_internal.h Wed Aug 15 16:58:21 2012 +0100
@@ -899,6 +899,9 @@ _hidden int libxl__domain_resume_device_
_hidden void libxl__userdata_destroyall(libxl__gc *gc, uint32_t domid);
+_hidden int libxl__domain_resume(libxl__gc *gc, uint32_t domid,
+ int suspend_cancel);
+
/* returns 0 or 1, or a libxl error code */
_hidden int libxl__domain_pvcontrol_available(libxl__gc *gc, uint32_t domid);
diff -r 30bf79cc1...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
.../var/lib/xen/"
+ path = libxl_sprintf(gc, "/var/lib/xen/"
"userdata-%s.%s.%s",
wh, uuid_string, userdata_userid);
if (!path)
@@ -467,94 +493,132 @@ static int userdata_delete(libxl_ctx *ct
return 0;
}
-void libxl__userdata_destroyall(libxl_ctx *ctx, uint32_t domid) {
+void libxl__userdata_destroyall(libxl_ctx *ctx, uint32_t domid)
+{
+ libxl_gc gc = LIBXL_INIT_GC(ctx);
const char *pattern;
glob_t gl;
int r, i;
- pattern = userdata_path(ctx, domid, "*", "?");
- if (!pattern) return;...