Skip to contentSkip to conversation

xl: absense of vcpus parameter

PATCH Sergey Tovpeko 2 participants 2 messages Sep 23, 2010

lore
Share & tools
lore
#0 lore raw

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.

tools/libxl/xl_cmdimpl.c +3 -0
index cb9dda7..b5947c1 100644
@@ -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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Sergey Tovpeko writes ("[Xen-devel] xl: absense of vcpus parameter"):

Quoted 7 lines

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.

I think this should be done in libxl, not xl.

Ian.