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] Allow 32bit PAE guests to change their L3 entries

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Allow 32bit PAE guests to change their L3 entries
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Mon, 18 Feb 2008 13:32:51 +0100
Delivery-date: Mon, 18 Feb 2008 04:33:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: KMail/1.9.7
Hi!

adjust_guest_l3e() adds (_PAGE_USER|_PAGE_RW) to the entry, and then
get_page_from_l3e() checks that _PAGE_USER or _PAGE_RW are not present
for PAE guests.  get_page_from_l3e() will always fail at this point
for PAE guests.

Attached patch fixes this. This bug has been uncovered with NetBSD 32bit PAE 
guests.

Patch from Manuel Bouyer <bouyer@xxxxxxxxxx> for xen-3.1-testing,
ported to xen-unstable by me.

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>


Keir: Please apply this patch also to xen-3.2-testing and xen-3.1-testing.



-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

Attachment: xen_mm.diff
Description: Text document

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