From: Keir Fraser Subject: Re: 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory Date: Fri, 27 Apr 2007 14:56:48 +0100 Message-ID: References: <20070427132616.GC13642@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070427132616.GC13642@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 27/4/07 14:26, "Daniel P. Berrange" 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