From: Keir Fraser <keir@xensource.com>
To: "Petersson, Mats" <Mats.Petersson@amd.com>,
PUCCETTI Armand <armand.puccetti@cea.fr>,
xen-devel@lists.xensource.com
Subject: Re: Re: Xen-devel Digest, Vol 25, Issue 93
Date: Mon, 12 Mar 2007 16:23:23 +0000 [thread overview]
Message-ID: <C21B2EFB.B464%keir@xensource.com> (raw)
In-Reply-To: <907625E08839C4409CE5768403633E0B018E1A52@sefsexmb1.amd.com>
On 12/3/07 16:19, "Petersson, Mats" <Mats.Petersson@amd.com> wrote:
>> I have seen in the code that there are different cases of guest+host
>> paging table heights. Why?
>
> I'm sorry, I don't quite know this. I believe that the page-table has to
> be the same number of levels in both Xen and the PV guest.
>
> There's been some recent work to implement 32-bit PV on 64-bit HV, which
> I think changes this by allowing a 32-bit PAE guest to run on a 64-bit
> hypervisor. Someone else who works more on PV is probably better to
> answer this...
For PV guests, there are no separate Xen/shadow page tables. Xen reserves a
bit of space at the top end of guest pagetables to map itself. Hence
normally the guest and Xen pagetables must be the same height as they are
actually the same pagetables.
Supporting PAE guest on 64-bit Xen is the only exception. Xen maintains a
hidden top-level page directory and one of the entries in that directory
points at the guest's three-level pagetable. But again there is no shadowing
of the guest three-level pagetable: they are directly hooked into the hidden
top-level directory, and the real physical %cr3 points at that hidden
directory.
-- Keir
next prev parent reply other threads:[~2007-03-12 16:23 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1HQkNQ-0002f5-Pl@host-192-168-0-1-bcn-london>
2007-03-12 16:10 ` Xen-devel Digest, Vol 25, Issue 93 PUCCETTI Armand
2007-03-12 16:19 ` Petersson, Mats
2007-03-12 16:23 ` Keir Fraser [this message]
2007-03-12 16:26 ` More page-table questions Petersson, Mats
2007-03-12 16:32 ` Keir Fraser
2007-03-12 16:35 ` Petersson, Mats
2007-03-12 16:38 ` Keir Fraser
2007-03-15 22:15 ` Questions about device/event channels in Xen Liang Yang
2007-03-16 0:34 ` Mark Williamson
2007-03-16 6:02 ` Liang Yang
2007-03-16 6:02 ` Liang Yang
2007-03-16 8:45 ` Keir Fraser
2007-03-16 17:30 ` Does Dom0 always get interrupts first before they are delivered to other guest domains? Liang Yang
2007-03-16 17:40 ` Petersson, Mats
2007-03-16 18:48 ` Liang Yang
2007-03-21 0:37 ` Mark Williamson
2007-03-21 1:23 ` Liang Yang
2007-03-21 1:23 ` Liang Yang
2007-03-21 8:31 ` Does Dom0 always get interrupts first before they aredelivered " Tian, Kevin
2007-03-21 9:13 ` Does Dom0 always get interrupts first before they are delivered " Petersson, Mats
2007-04-07 16:59 ` Mark Williamson
2007-04-12 0:20 ` Does Dom0 always get interrupts first before theyare " Liang Yang
2007-04-12 14:00 ` Petersson, Mats
2007-04-12 20:15 ` Does Dom0 always get interrupts first beforetheyare " Liang Yang
2007-03-19 16:33 ` Does Xen also plan to move the back-end driver to the stub domain for HVM? Liang Yang
2007-03-19 16:45 ` Petersson, Mats
2007-03-19 18:20 ` Anthony Liguori
2007-03-19 19:21 ` Liang Yang
2007-03-19 20:20 ` Anthony Liguori
2007-03-19 21:56 ` Question about reserving one CPU for the Xen hypervisor in case of vm exit Liang Yang
2007-03-20 10:13 ` Petersson, Mats
2007-03-20 10:03 ` Re: Does Xen also plan to move the back-end driver to the stub domain for HVM? Petersson, Mats
2007-03-16 3:17 ` Questions about device/event channels in Xen Daniel Stodden
2007-03-16 8:38 ` Petersson, Mats
2007-03-12 17:27 ` More page-table questions PUCCETTI Armand
2007-03-12 17:42 ` Petersson, Mats
2007-03-13 16:25 ` Mark Williamson
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=C21B2EFB.B464%keir@xensource.com \
--to=keir@xensource.com \
--cc=Mats.Petersson@amd.com \
--cc=armand.puccetti@cea.fr \
--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.