search for: libxl_domain_setmaxmem

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

2011 May 25
3
libxl: setmaxmem functionality?
Hi, the function libxl_domain_setmaxmem in libxl.c doesn''t seem to do anything besides argument checking, or am I overlooking something? Cheers, Markus _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 May 07
9
[PATCH] xl: Update memory info in xenstore when use ''xl mem-set''
''xl mem-set'' should update memory info in xenstore''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;
2013 Apr 04
28
[PATCH v3 0/3] libxl: memory management patches
Hi, Here are three small but important libxl/xl memory management patches: - libxl: xl mem-max et consortes must update static-max in xenstore too, - xl: Allow user to configure xl mem-set behavior, - xl: Improve xl documentation in regards to guest memory management. Daniel
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...et)); + rc = 0; +out_free: flexarray_free(front); flexarray_free(back); - - return 0; +out: + libxl_free_all(&gc); + return rc; } int libxl_device_vfb_clean_shutdown(libxl_ctx *ctx, uint32_t domid) @@ -2536,81 +2713,90 @@ int libxl_device_vfb_hard_shutdown(libxl int libxl_domain_setmaxmem(libxl_ctx *ctx, uint32_t domid, uint32_t max_memkb) { + libxl_gc gc = LIBXL_INIT_GC(ctx); char *mem, *endptr; uint32_t memorykb; - char *dompath = libxl_xs_get_dompath(ctx, domid); - - mem = libxl_xs_read(ctx, XBT_NULL, libxl_sprintf(ctx, "%s/memory/target", dompath));...