Displaying 4 results from an estimated 4 matches for "libxl_userdata_stor".
Did you mean:
  libxl_userdata_store
  
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
...alizing a ctx''s lock fails
  libxl: don''t leak output vcpu info on error in libxl_list_vcpu
  libxl: don''t leak ptr in libxl_list_vm error case
  libxl: don''t leak pcidevs in libxl_pcidev_assignable
  libxl: don''t try to fclose file twice on error in
    libxl_userdata_store
  libxl: use pipe instead of temporary file for VNC viewer --autopass
  libxl: don''t leak buf in libxl_xen_console_read_start error handling
  libxl: replace for loop with more idiomatic do-while loop
 tools/libxl/libxl.c        |   64 +++++++++++++++++++++-----------------------
 tools/...
2011 May 13
0
Bug#626644: xen-utils-4.1: xl fails because /var/lib/xen is missing
...:        0000000000100000->0000000000179850
  TOTAL:         0000000000000000->000000001f800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000000fb
  1GB PAGES: 0x0000000000000000
libxl: error: 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 fo...
2013 Aug 17
2
double free or corruption in xl 4.2
...e or corruption (!prev): 0x0000000001e6a960 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f23da771d76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f23da776aac]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x14d)[0x7f23da762ccd]
/usr/lib/xen-4.2/bin/../lib/libxenlight.so(libxl_userdata_store+0x113)[0x7f23db0f7883]
/usr/lib/xen-4.2/bin/xl[0x40c564]
/usr/lib/xen-4.2/bin/xl[0x41028e]
/usr/lib/xen-4.2/bin/xl[0x406d24]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f23da719ead]
/usr/lib/xen-4.2/bin/xl[0x406f3d]
======= Memory map: ========
00400000-00421000 r-xp 00000000 fe:00...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...(r == GLOB_NOMATCH)
+        goto out;
+    if (r)
+        XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "glob failed for %s", pattern);
 
     for (i=0; i<gl.gl_pathc; i++) {
         userdata_delete(ctx, gl.gl_pathv[i]);
     }
     globfree(&gl);
+out:
+    libxl_free_all(&gc);
 }
 
 int libxl_userdata_store(libxl_ctx *ctx, uint32_t domid,
                               const char *userdata_userid,
-                              const uint8_t *data, int datalen) {
+                              const uint8_t *data, int datalen)
+{
+    libxl_gc gc = LIBXL_INIT_GC(ctx);
     const char *filename;...