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

[Xen-devel] [PATCH] PoD: Check p2m assumption in debug builds

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] PoD: Check p2m assumption in debug builds
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Fri, 11 Sep 2009 11:40:08 +0100
Delivery-date: Fri, 11 Sep 2009 03:40:32 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=wglc6UXBCucF+1p1gwTU+723T9SCfpUD2NQDarogVGk=; b=i8A9JPmXlLuXMaSEV3Lza9DOgqyYWg7gZVrYLFQPV+fo1IBWo6bisgU9CbF3gLK8m6 A24KdBtCOwrzNruofsK2DT23IS/ehLGdHnJMccSLxT1YoCwwzXtbp+IyBzmEdYHKB2Qk SkQ/c25/LTpaRyXbIoTX77Z7GL69wNQG9HJLs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=oKJvHamVhmubwufMgh0d6H1LYccoevUo9pyW1VbH0vfGxXQN1ky+85J/bbgPBWmF0Z Y0vwJ7lc4s3NOMTSQRw4lVu9EVaM0sI0QHgR7BHVOkZzc+F1ZK2I8HQ6Q4bkEaZbg+Ag 94PkrUJi+VQ75u+Ffylqk3gOPwyn8o5Dt1PL4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The PoD code assumes that if:
* A page is in a domain's p2m table
* And it's owned by the domain
* And it's not a xenheap page
then:
* It's on the domain's page list.

This patch adds a check for this assumption when debug=y.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: 20090911-pod-verify-p2m-assumption.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>