Displaying 4 results from an estimated 4 matches for "memmax".
Did you mean:
memmap
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
Hi,
I'm wondering how to explain following metrics I got from libvirt,
regarding memory stats for the two GUESTS running on my host.
1) virDomainGetXMLDesc() shows these values :
memmax (1024000.000000) memcurrent(1024000.000000)
memmax (2048000.000000) .memcurrent(2048000.000000)
2) As values returned by virDomainMemoryStats(), I got these values :
VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON:
active_balloon (1024000.000000)
active_balloon (2048000.000000)
VIR_DOMAIN_MEMORY_S...
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;
2006 Dec 12
1
[PATCH] Fix e820 mapping limit
The changeset ''12803:df5fa63490f4da7b65c56087a68783dbcb7944f8'' added a new
hypercall XENMEM_set_memory_map for specifying the e820 mapping. There was
a small bug in the userspace side of this change though - the e820 mapping
was specified based on the ''memory_static_min'' domain info parameter which
means the memory map size is clamped to the value
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...;
+
+ rc = 0;
+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, &...