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] Xen Crashes when releasing gnttab mappings - of a crashe

To: "Moffie, Micha" <micha.moffie@xxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen Crashes when releasing gnttab mappings - of a crashed domain.
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Tue, 21 Nov 2006 16:09:11 +0000
Delivery-date: Tue, 21 Nov 2006 08:09:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <86FE9B2B91ADD04095335314BE6906E84A0B4E@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccNc31su++dBHlmEduJYgAX8io7RQAAhe0AAAEUTeEAArTeIAAAqekL
Thread-topic: [Xen-devel] Xen Crashes when releasing gnttab mappings - of a crashed domain.
User-agent: Microsoft-Entourage/11.2.5.060620


On 21/11/06 15:52, "Moffie, Micha" <micha.moffie@xxxxxx> wrote:

> By why do you crash the local domain if the reference can not be
> ungranted?
> Is there no way to clean up? And if ld == 0?

This situation signals that the mapping domain cleared the granted mapping
by simply zapping the PTE, rather than going thru the explicit grant-unmap
operation. The effect of this is undefined (although of course it should not
crash Xen!) and for sanity's sake I prefer to crash the offender whenever I
can detect that this has happened.

 -- Keir


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