From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory Date: Fri, 27 Apr 2007 15:09:01 +0100 Message-ID: <20070427140901.GD13642@redhat.com> References: <20070427132616.GC13642@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Apr 27, 2007 at 02:56:48PM +0100, Keir Fraser wrote: > 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. Well 'sensible' depends on your target audience :-) In the desktop/laptop arena users like their Dom0 to have all the memory which isn't used by active guests - even to the extent we've had bugs reported asking us to make XenD automatically balloon dom0 back up after a guest shuts down ! Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|