[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: Fix for Windows UP crash on boot using xl
# HG changeset patch # User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> # Date 1295631956 0 # Node ID 17181eaedb78d01a97972dc93634398ac14cd884 # Parent c342aa1476e8e28635d1b7db89a7a373303f0c65 libxl: 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> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/libxl_create.c | 1 + 1 files changed, 1 insertion(+) diff -r c342aa1476e8 -r 17181eaedb78 tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Fri Jan 21 17:44:07 2011 +0000 +++ b/tools/libxl/libxl_create.c Fri Jan 21 17:45:56 2011 +0000 @@ -76,6 +76,7 @@ void libxl_init_build_info(libxl_domain_ { 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; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |