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] Tracking "Cannot allocate memory" error in shadow_alloc_

To: Steven Rostedt <srostedt@xxxxxxxxxx>
Subject: Re: [Xen-devel] Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: Fri, 12 Jan 2007 14:37:52 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, Chris Lalancette <clalance@xxxxxxxxxx>
Delivery-date: Fri, 12 Jan 2007 06:37:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45A7878C.5070409@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>
References: <45A4063D.8000207@xxxxxxxxxx> <20070110113207.GD21843@xxxxxxxxxxxxxxxxxxxxx> <45A71909.8070300@xxxxxxxxxx> <20070112110702.GA18763@xxxxxxxxxxxxxxxxxxxxx> <45A7878C.5070409@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
At 08:05 -0500 on 12 Jan (1168589116), Steven Rostedt wrote:
> Is there a way to tell if this is a translated PV guest?  I'd rather not 
> do this code at all if it is not needed. 

It just needs the PV loader to be tweaked, and we can drop it entirely.

> We are mapping pages into a 
> guess from junk data. I hate to find out later on that something is 
> missed, and we allow for the guest to have access to memory it should 
> not have.

That's not a risk.  The MFNs we're putting into the p2m map are
definitely correct: they're taken from the domain's page list.  It's
just that they're going in at the wrong guest-physical addresses.

Tim.

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