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] [PATCH] support 1gb pages in guest page table walker

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] support 1gb pages in guest page table walker
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Mon, 25 Jul 2011 11:46:41 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Jul 2011 02:47:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E2D53F9020000780004F67E@xxxxxxxxxxxxxxxxxxxx>
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>
References: <4E298E8F.1040306@xxxxxxx> <4E29B6A7020000780004F3B6@xxxxxxxxxxxxxxxxxxxx> <4E2D3538.1060106@xxxxxxx> <4E2D53F9020000780004F67E@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv:1.9.2.17) Gecko/20110523 Lightning/1.0b3pre Thunderbird/3.1.10
On 07/25/11 11:31, Jan Beulich wrote:
On 25.07.11 at 11:19, Christoph Egger<Christoph.Egger@xxxxxxx>  wrote:
On 07/22/11 17:43, Jan Beulich wrote:
On 22.07.11 at 16:51, Christoph Egger<Christoph.Egger@xxxxxxx>   wrote:
Support 1gb pages in guest page table walker.

Why do you do this for GUEST_PAGING_LEVELS>= 3 rather than
GUEST_PAGING_LEVELS>= 4?

Xen can run in 32bit PAE mode but the guest in 64bit mode.

But that is what distinguishes GUEST_PAGING_LEVELS from
CONFIG_PAGING_LEVELS - you're allowing a PAE *guest* to use
1Gb mappings, no matter what host it runs on.


Oh, then I mixed those two up. New fixed patch attached.
Thank you for your review.

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


--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

Attachment: xen_pagewalk.diff
Description: xen_pagewalk.diff

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