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-devel

Re: [Xen-devel] Crash with 3.0.3 on domain creation

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] Crash with 3.0.3 on domain creation
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 12:10:14 +0100
Cc: xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Oct 2006 04:10:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1161860897.2365.6.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb4709sjigHoWTiEdudzgAX8io7RQ==
Thread-topic: [Xen-devel] Crash with 3.0.3 on domain creation
User-agent: Microsoft-Entourage/11.2.5.060620


On 26/10/06 12:08, "Jacob Gorm Hansen" <jacobg@xxxxxxx> wrote:

> Got back to this and found the problem: If xc_domain_max_vcpus() is not
> called before the domain gets build, Xen will crash when trying to test
> for the HVM guest bit in the hvm_guest() macro. Would it make sense to
> start out with one rather than no vcpus to prevent this crash?
> 
> Jacob

Ah. I'm going to fix this by having HVM be a flag that is set when the
domain is first created. That will get rid of the bogus test on VCPU0.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>