From: Keir Fraser Subject: Re: 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory Date: Mon, 30 Apr 2007 22:55:07 +0100 Message-ID: References: <20070430191134.GO22697@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070430191134.GO22697@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" , Charles Coffing Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 30/4/07 20:11, "Daniel P. Berrange" wrote: >> We have received bug reports from ISVs of this problem in both the PV >> and FV cases. I traced code paths and discovered that FV attempts to >> allocate the most memory during the initial domain creation; 64-bit PV >> allocates the next most; 32-bit PV allocates the least. So failures >> for PV are less common, but not impossible. > > Indeed - in testing on 64-bit PV over the weekend I saw perhaps 1 in 5 > PV creation attempts fail with the not enough memory bug. So it does look > like the patch needs to be de-indented to fix PV too. It's weird that this is only cropping up now. Still, the workaround is pretty harmless. -- Keir