[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] xl: absense of vcpus parameter


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Sergey Tovpeko <tsv.devel@xxxxxxxxx>
  • Date: Thu, 23 Sep 2010 17:38:25 +0400
  • Delivery-date: Thu, 23 Sep 2010 06:43:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=pFqZqP55IMnvIfmRKSFyrV8FviJw0Qi7kmDa01R4dV4CIoIxjxWLgf/ztaKuAvV3i7 LyZ86I2/EMgqNDHVGKWYUBYVnIpbM8ezktcABwDzddhUh09JzIB7FWWB91XwzCkP44S7 uP7TgL2N8US/ChQ+5t6ljncrFVh2BpbWIIs5o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.