All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Tim Deegan <tim@xen.org>
Cc: cc Luit <universalbillow@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: why xen use x86_emulation() in page_fault
Date: Thu, 13 Oct 2011 14:21:48 +0200	[thread overview]
Message-ID: <4E96D7DC.8010807@amd.com> (raw)
In-Reply-To: <20111013114752.GG44937@ocelot.phlegethon.org>

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

  reply	other threads:[~2011-10-13 12:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11  1:39 why xen use x86_emulation() in page_fault cc Luit
2011-10-11  8:18 ` Tim Deegan
2011-10-11 10:14   ` cc Luit
2011-10-11 11:29     ` Tim Deegan
2011-10-11 12:03       ` cc Luit
2011-10-11 12:21         ` Tim Deegan
2011-10-11 13:07           ` cc Luit
2011-10-13 11:47             ` Tim Deegan
2011-10-13 12:21               ` Christoph Egger [this message]
2011-10-11 12:04   ` Zhengwang Ruan (Royo)
2011-10-11 13:46     ` cc Luit
2011-10-13 11:53       ` Tim Deegan
2011-10-11 13:21   ` Zhengwang Ruan (Royo)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E96D7DC.8010807@amd.com \
    --to=christoph.egger@amd.com \
    --cc=tim@xen.org \
    --cc=universalbillow@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.