|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 11 of 12] xl: parse maxmem parameter in VM config fil
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
diff -r 92b36bfe3088 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu Sep 02 15:39:48 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Thu Sep 02 17:47:23 2010 +0100
@@ -692,6 +692,9 @@ static void parse_config_data(const char
b_info->target_memkb = b_info->max_memkb;
}
+ if (!xlu_cfg_get_long (config, "maxmem", &l))
+ b_info->max_memkb = l * 1024;
+
if (xlu_cfg_get_string (config, "on_poweroff", &buf))
buf = "destroy";
if (!parse_action_on_shutdown(buf, &d_config->on_poweroff)) {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 2 of 12] libxl: do not modify static-max after domain creation, (continued)
- [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 <=
- [Xen-devel] [PATCH 10 of 12] libxl: proper accounting for the videoram, stefano . stabellini
- [Xen-devel] [PATCH 12 of 12] libxl: add a detailed explanation of the libxl domain memory model, stefano . stabellini
|
|
|
|
|