[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2 of 12] 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. 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |