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] Enable EPT (Extended Page Table)

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Enable EPT (Extended Page Table)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 13 Dec 2007 09:30:57 +0000
Delivery-date: Thu, 13 Dec 2007 01:24:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2D848F959C03D945A84E9EDE7F7BFE42161531@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Acg9UP4EjAQ3hfzWRHSvc5z+zxw3nQAGd9c7
Thread-topic: [Xen-devel] [PATCH] Enable EPT (Extended Page Table)
User-agent: Microsoft-Entourage/11.3.6.070618
What's HVM_IDENT_PT all about? If you need an identity page table can you
not hide it? I don't see why it would need to be, or want to be,
guest-visible.

 -- Keir

On 13/12/07 06:25, "Nakajima, Jun" <jun.nakajima@xxxxxxxxx> wrote:

> The patch attached enables the EPT feature. When present, it provides a
> direct mechanism to virtualize physical memory in HVM guests running on
> processors with Intel(c) Virtualization Technology. It applies to the
> unstable tree.
> 
> We now use the EPT page table as P2M (guest physical to macihne
> mapping), removing the linear page table when EPT is used for the domain
> (see the new file p2m-ept.c). We did this by adding three operations in
> the p2m_domain. If VT-d is enabled, the EPT page table will be used as
> the VT-d page table as well (i.e. shared).
> 
>  b/xen/arch/x86/mm/p2m-ept.c        |  175
> +++++++++++++++++++++++++++++++++++++
>  tools/libxc/xc_hvm_build.c         |   14 ++
>  xen/arch/x86/hvm/hvm.c             |    4
>  xen/arch/x86/hvm/vmx/vmcs.c        |   62 +++++++++++--
>  xen/arch/x86/hvm/vmx/vmx.c         |  135 +++++++++++++++++++++++++---
>  xen/arch/x86/mm/Makefile           |    1
>  xen/arch/x86/mm/p2m.c              |   20 +++-
>  xen/include/asm-x86/domain.h       |   26 +++++
>  xen/include/asm-x86/hvm/hvm.h      |    9 +
>  xen/include/asm-x86/hvm/vmx/vmcs.h |   35 +++++++
>  xen/include/asm-x86/hvm/vmx/vmx.h  |   53 ++++++++++-
>  xen/include/asm-x86/p2m.h          |   35 ++-----
>  xen/include/public/hvm/params.h    |    4
>  13 files changed, 521 insertions(+), 52 deletions(-)
> 
> Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
> Signed-off-by: Jun Nakajima <jun.nakajima@xxxxxxxxx>
> 
> Jun
> ---
> Intel Open Source Technology Center
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

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