|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 2 of 12] libxl: do not modify static-max after domain
static-max represents the maximum memory the domain can ever have,
therefore it shouldn't be changed after domain creation.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
diff -r 13811e12adf5 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Thu Sep 02 11:13:49 2010 +0100
+++ b/tools/libxl/libxl.c Thu Sep 02 11:14:24 2010 +0100
@@ -2746,9 +2746,6 @@ int libxl_domain_setmaxmem(libxl_ctx *ct
goto out;
}
- if (domid != 0)
- libxl_xs_write(&gc, XBT_NULL, libxl_sprintf(&gc,
"%s/memory/static-max", dompath), "%"PRIu32, max_memkb);
-
rc = 0;
out:
libxl_free_all(&gc);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0 of 12] v4: xl/libxl autoballooning, Stefano Stabellini
- [Xen-devel] [PATCH 1 of 12] libxl: add current_memkb to libxl_dominfo, stefano . stabellini
- [Xen-devel] [PATCH 2 of 12] libxl: do not modify static-max after domain creation,
stefano . stabellini <=
- [Xen-devel] [PATCH 3 of 12] libxl: use transactions in libxl_set_memory_target, stefano . stabellini
- [Xen-devel] [PATCH 4 of 12] libxl: add a "relative" parameter to libxl_set_memory_target, stefano . stabellini
- [Xen-devel] [PATCH 5 of 12] libxl: adds few more memory operations, stefano . stabellini
- [Xen-devel] [PATCH 8 of 12] introduce XEN_LOCK_DIR, stefano . stabellini
- [Xen-devel] [PATCH 6 of 12] libxl: introduce the concept of dom0 minimum memory, stefano . stabellini
- [Xen-devel] [PATCH 7 of 12] xl: add a global configuration file, stefano . stabellini
- [Xen-devel] [PATCH 9 of 12] xl: free memory before building a domain, stefano . stabellini
- [Xen-devel] [PATCH 11 of 12] xl: parse maxmem parameter in VM config files, stefano . stabellini
|
|
|
|
|