|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl: do not modify static-max after dom
# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1285172841 -3600
# Node ID 4f90c1fde133cc50706f00c95af601545856e561
# Parent 68cd8ae1b6203aa1f730ff4c044f023c81e3738d
libxl: do not modify static-max after domain creation
static-max represents the maximum memory the domain can ever have,
therefore it shouldn't be changed after domain creation.
[adjusted to cope with code movement since patch series written -iwj]
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/libxl.c | 3 ---
1 files changed, 3 deletions(-)
diff -r 68cd8ae1b620 -r 4f90c1fde133 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Wed Sep 22 17:23:22 2010 +0100
+++ b/tools/libxl/libxl.c Wed Sep 22 17:27:21 2010 +0100
@@ -2768,9 +2768,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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] libxl: do not modify static-max after domain creation,
Xen patchbot-unstable <=
|
|
|
|
|