From: Keir Fraser Subject: Re: Crash with 3.0.3 on domain creation Date: Thu, 26 Oct 2006 12:10:14 +0100 Message-ID: References: <1161860897.2365.6.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1161860897.2365.6.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacob Gorm Hansen Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 26/10/06 12:08, "Jacob Gorm Hansen" 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