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] Question about EPT translation

To: confucius <henanwxr@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about EPT translation
From: Tim Deegan <tjd@xxxxxxxxxxxxxx>
Date: Mon, 30 May 2011 09:42:39 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 03 Jun 2011 10:00:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1306513043984-4432564.post@xxxxxxxxxxxxx>
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: <1306513043984-4432564.post@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi,

At 09:17 -0700 on 27 May (1306487843), confucius wrote:
> Hi,everyone. I have some questions.
> 1. Does hvmoader need EPT for address translation when it  is running?

_All_ HVM guests need _either_ EPT/NPT _or_ shadow pagetables, to make
the extra translation from guest physical addresses to machine addresses.

> 3. If hvmloader needs EPT, where we construct EPT structure for it? I can't
> find correlative part  in code flow.

Did you try searching the code for "EPT"?  The EPT datastructures are
construced in p2m_ept.c.  (p2m is the general term in Xen for the table
that maps physical addresses to machine addresses).

Tim.

-- 
                                         Tim Deegan <tjd@xxxxxxxxxxxxxx>
                We were back to the sad age-old knowledge that there are
                       only two genuine aphrodisiacs: youth and boredom.
                      [ Alistair Cooke, "Letter From America", 12/5/98 ]

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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] Question about EPT translation, Tim Deegan <=