|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xl: parse the maxvcpus config file parameter
xl: parse the maxvcpus config file parameter
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
diff -r 6d605ec6bcd8 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu Sep 02 12:38:13 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Thu Sep 02 14:15:08 2010 +0100
@@ -687,6 +687,9 @@ static void parse_config_data(const char
b_info->cur_vcpus = (1 << l) - 1;
}
+ if (!xlu_cfg_get_long (config, "maxvcpus", &l))
+ b_info->max_vcpus = l;
+
if (!xlu_cfg_get_long (config, "memory", &l)) {
b_info->max_memkb = l * 1024;
b_info->target_memkb = b_info->max_memkb;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] xl: parse the maxvcpus config file parameter,
Stefano Stabellini <=
|
|
|
|
|