|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xl: parse the maxvcpus config file parame
# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1283445886 -3600
# Node ID d37dc6401a1f45ea89d3bc76bf4b43c7e1044a99
# Parent 81da889f671fe22bda4ffafe680dfc81c9c9bb76
xl: parse the maxvcpus config file parameter
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxl/xl_cmdimpl.c | 3 +++
1 files changed, 3 insertions(+)
diff -r 81da889f671f -r d37dc6401a1f tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu Sep 02 16:51:53 2010 +0100
+++ b/tools/libxl/xl_cmdimpl.c Thu Sep 02 17:44:46 2010 +0100
@@ -626,6 +626,9 @@ static void parse_config_data(const char
b_info->max_vcpus = l;
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;
_______________________________________________
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] xl: parse the maxvcpus config file parameter,
Xen patchbot-unstable <=
|
|
|
|
|