|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xl: absense of vcpus parameter
Hello, list!Using xl, you should obligatory specify 'vcpus' parameter to domain's configuration file. Without this parameter HVM Windows7 goes to BSOD : HAL_INITIALIZATION_FAILED, and WinXP reboots constantly. I prepared patch, that initializes vcpus parameter inside xl. diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index cb9dda7..b5947c1 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -638,6 +638,9 @@ static void parse_config_data(const char
*configfile_filename_report,
if (!xlu_cfg_get_long (config, "vcpus", &l)) {
b_info->max_vcpus = l;
b_info->cur_vcpus = (1 << l) - 1;
+ } else {
+ b_info->max_vcpus = 1;
+ b_info->cur_vcpus = 1;
}
if (!xlu_cfg_get_long (config, "maxvcpus", &l))
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |