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] NPT and EPT question

To: bo ma <kyle.ma83@xxxxxxxxx>
Subject: Re: [Xen-devel] NPT and EPT question
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 17 Nov 2008 13:41:23 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Nov 2008 05:41:49 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a784cc270811170523w307cfd41o163c5ce9f11090cd@xxxxxxxxxxxxxx>
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: <a784cc270811170523w307cfd41o163c5ce9f11090cd@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
Hi,

At 21:23 +0800 on 17 Nov (1226957017), bo ma wrote:
> Recent I read AMD specification about NPT,and met with a question about a
> sentence.
> 
> The sentence is : Note that host table walks for guest page tables are
> always treated as data writes.I don't know why treated as data writes?

Possibly because the guest-table walker might have to set the A and D
bits, and the hardware doesn't know whether it will do that until
_after_ it's done the host-table walk.

Maybe someone from AMD can clarify. 

> In intel EPT ,is it the same? or treated as data reads?

My impression is that EPT only requires write permissions if it actually
writes back an A or D bit, but I'm not sure.   It should be easy to check.

Cheers,

Tim

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]

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

<Prev in Thread] Current Thread [Next in Thread>