search for: videoram_s

Displaying 2 results from an estimated 2 matches for "videoram_s".

Did you mean: videoram
2010 May 07
9
[PATCH] xl: Update memory info in xenstore when use ''xl mem-set''
...#39;s vm info. Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com> diff -r ccae861f52f7 -r 5847ce53f5dc tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu May 06 11:59:55 2010 +0100 +++ b/tools/libxl/libxl.c Sat May 08 01:38:51 2010 +0800 @@ -2290,11 +2290,22 @@ uint32_t videoram; char *videoram_s = NULL; char *dompath = libxl_xs_get_dompath(ctx, domid); + xc_domaininfo_t info; + struct libxl_dominfo ptr; + char *uuid; videoram_s = libxl_xs_read(ctx, XBT_NULL, libxl_sprintf(ctx, "%s/memory/videoram", dompath)); videoram = videoram_s ? atoi(videoram_s) : 0;...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...out: + libxl_free_all(&gc); + return rc; } int libxl_set_memory_target(libxl_ctx *ctx, uint32_t domid, uint32_t target_memkb, int enforce) { - int rc = 0; + libxl_gc gc = LIBXL_INIT_GC(ctx); + int rc = 1; uint32_t memorykb = 0, videoram = 0; char *memmax, *endptr, *videoram_s = NULL; - char *dompath = libxl_xs_get_dompath(ctx, domid); + char *dompath = libxl_xs_get_dompath(&gc, domid); xc_domaininfo_t info; libxl_dominfo ptr; char *uuid; if (domid) { - memmax = libxl_xs_read(ctx, XBT_NULL, libxl_sprintf(ctx, "%s/memory/static-...