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: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Tracking "Cannot allocate memory" error in shadow_alloc_p2m_table
From: Steven Rostedt <srostedt@xxxxxxxxxx>
Date: Fri, 12 Jan 2007 08:05:16 -0500
Cc: Chris Lalancette <clalance@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Jan 2007 05:05:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070112110702.GA18763@xxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
Tim Deegan wrote:
At 00:13 -0500 on 12 Jan (1168560825), Steven Rostedt wrote:
Why do we need that code, it's using stale data, and updating the shadow page tables with a m2p mapping that is from a older domain.

The domain builder for translated PV guests still populates the physmap
before enabling shadow-translate mode, so needs this init code.  Now
that paravirt-ops kernels use proper mmu operations that can probably be
fixed up.

In the meantime, cset 13326:dc0638bb4628 of xen-unstable should have
stopped it from killing the guest if it finds an entry that's too big.


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. 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.

-- Steve

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