WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] libxl: Fix for Windows UP crash on boot u

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: Fix for Windows UP crash on boot using xl
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Mon, 24 Jan 2011 16:00:37 -0800
Delivery-date: Mon, 24 Jan 2011 16:01:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxl: Fix for Windows UP crash on boot using xl, Xen patchbot-unstable <=