Stefano Stabellini
2010-Sep-02 13:16 UTC
[Xen-devel] [PATCH] xl: parse the maxvcpus config file parameter
xl: parse the maxvcpus config file parameter Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Reasonably Related Threads
- [PATCH, v2]: xl: move domain struct init functions to libxl
- [PATCH] libxl: use named options for tsc_mode
- [PATCH v3] libxl: support for "rtc_timeoffset" and "localtime"
- [PATCH QXL 2/2] libxl: Add qxl vga interface support.
- [PATCH] libxl: fix rtc_timeoffset setting