[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH]tools:xl: Fix for Windows UP crash on boot using xl
tools:xl: Fix for Windows UP crash on boot using xl When parameter "vcpus" is not explicitly set in config file, cur_vpus is initialized to 0 instead of 1, which causes domU crash. Signed-off-by: Fengzhe Zhang <fengzhe.zhang@xxxxxxxxx> diff -r 7b4c82f07281 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Wed Jan 05 23:54:15 2011 +0000 +++ b/tools/libxl/xl_cmdimpl.c Fri Jan 21 23:52:35 2011 +0800 @@ -328,6 +328,7 @@ { memset(b_info, '\0', sizeof(*b_info)); b_info->max_vcpus = 1; + b_info->cur_vcpus = 1; b_info->max_memkb = 32 * 1024; b_info->target_memkb = b_info->max_memkb; b_info->disable_migrate = 0; Attachment:
windows_up_crash_fix.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |