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] why xen use x86_emulation() in page_fault

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: [Xen-devel] why xen use x86_emulation() in page_fault
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Thu, 13 Oct 2011 14:21:48 +0200
Cc: cc Luit <universalbillow@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 Oct 2011 05:23:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111013114752.GG44937@xxxxxxxxxxxxxxxxxxxxx>
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: <CADWh-PE3tdCP5UshkwH0VX9J0aJaxBLfQdiN1u9WF+Q--x4ejA@xxxxxxxxxxxxxx> <20111011081829.GB88076@xxxxxxxxxxxxxxxxxxxxx> <CADWh-PGgZ1imeq5Zf4ngwPsLXw3nb2jrExEcSDVkFZT5UWggmg@xxxxxxxxxxxxxx> <20111011112900.GF88076@xxxxxxxxxxxxxxxxxxxxx> <CADWh-PFLM4ngx9Nyje1r2kpjaEgBRUQhQ01MDV1Lj0C5jtTJHQ@xxxxxxxxxxxxxx> <20111011122107.GG88076@xxxxxxxxxxxxxxxxxxxxx> <CADWh-PFDKaSQa39hG8bf_Son1bRtv51G1zcQfeqk4wSQCmT5pQ@xxxxxxxxxxxxxx> <20111013114752.GG44937@xxxxxxxxxxxxxxxxxxxxx>
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 10/13/11 13:47, Tim Deegan wrote:
At 21:07 +0800 on 11 Oct (1318367233), cc Luit wrote:
Why don't you just use EPT/NPT instead of shadow pagetables?  That code
is a lot simpler and the end result is easier to validate than shadow
pagetables are.  Is it particularly important to support shadow
pagetables?

yeah, we have consider that, and of course the EPT is much more convenient,
BTW, do you know is there any simulator that can well support EPT of xen?
the shadow page's problem is a little relevent to the selection of
simulator~

There's experimental support in Xen itself for running a hypervisor
inside a HVM guest.  On AMD, that includes (and indeed requires) NPT in
the guest hypervisor.

Not quite right: guest hypervisor can use NPT but this is not required.
It may use shadow paging. But an AMD cpu with NPT capability is
required since shadow-on-shadow is not supported.

>  Unfortunately, on Intel it does not include EPT.

There may be some other simulators that have EPT/NPT - I don't know.

Cheers,

Tim.


--
---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


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