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] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocat

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 27 Apr 2007 14:56:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 27 Apr 2007 06:55:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070427132616.GC13642@xxxxxxxxxx>
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: AceI0+XnJEd7DPTHEduDOgAX8io7RQ==
Thread-topic: [Xen-devel] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory
User-agent: Microsoft-Entourage/11.3.3.061214
On 27/4/07 14:26, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

> It seems to occurr with any HVM guest I try to create, unless there was
> already
> some free mem (from starting & stopping a previous dom). I'm testing with this
> very simple hack which seems to make it work - just ensure the balloon driver
> frees a 10 MB chunk right at the start. Hardcoding is fine because when we
> later get to the _initDomain() method we'll definitely be freeing up much
> more than 10 MB for the HVM guests's actual mem requirements.

We do most testing with a sensible 'dom0_mem=' so we wouldn't see this.

The hack looks fine.

 -- Keir


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