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] More page-table questions.

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, PUCCETTI Armand <armand.puccetti@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] More page-table questions.
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 16:32:21 +0000
Delivery-date: Mon, 12 Mar 2007 09:31:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1A53@xxxxxxxxxxxxxxxxx>
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: AcdkwQgTMoNF2D7XSwCSADsblWep1wAAECQwAABeH3QAAAvkoAAAREeC
Thread-topic: [Xen-devel] More page-table questions.
User-agent: Microsoft-Entourage/11.2.5.060620
On 12/3/07 16:26, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

> Are the page-tables ever updated directly by the guest, or is it all
> done via hyper-calls?

Leaf PTEs (i.e., really just PTEs, not PDEs) can be directly written from
the point-of-view of the guest. In fact they are trapped and emulated by
Xen. The guest is somewhat aware of this because it has explicitly
write-protected all its pagetables, so if it were to attempt the direct
write on native hardware in these circumstances it would receive a page
fault.

 -- Keir


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