|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [patch] PAE support revisited
To: |
"Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> |
Subject: |
RE: [Xen-devel] [patch] PAE support revisited |
From: |
"Nakajima, Jun" <jun.nakajima@xxxxxxxxx> |
Date: |
Wed, 23 Mar 2005 09:10:26 -0800 |
Cc: |
"Karen White" <kawhite@xxxxxxxxxx>, "Nuutti Kotivuori" <naked@xxxxxx>, <ian.pratt@xxxxxxxxxxxx>, "Gerd Knorr" <kraxel@xxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx> |
Delivery-date: |
Wed, 23 Mar 2005 17:15:26 +0000 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
List-archive: |
<http://sourceforge.net/mailarchive/forum.php?forum=xen-devel> |
List-help: |
<mailto:xen-devel-request@lists.sourceforge.net?subject=help> |
List-id: |
List for Xen developers <xen-devel.lists.sourceforge.net> |
List-post: |
<mailto:xen-devel@lists.sourceforge.net> |
List-subscribe: |
<https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe> |
List-unsubscribe: |
<https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe> |
Sender: |
xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcUvxLocaTJzmPmBS1eSjy1FkCUQpgABOyaw |
Thread-topic: |
[Xen-devel] [patch] PAE support revisited |
Keir Fraser wrote:
> On 23 Mar 2005, at 15:22, Nakajima, Jun wrote:
>
>> I like the idea of new macros. The other thing is that the current
>> shadow code has issues with supporting 32-bit unmodified guests on
>> x86_64 (e.g. VMX domain). For example, the following does not work,
>> and we need new definitions (e.g. l1_pgentry_32_t) for that purpose.
>> typedef struct { unsigned long l1_lo; } l1_pgentry_t;
>> typedef struct { unsigned long l2_lo; } l2_pgentry_t;
>> The linear page table does not work either, because the page table
>> entries are different (i.e. 4-byte vs. 8-byte). I think we need to
>> get the current shadow code working for 2-level page tables on both
>> x86 and x86_64 first, then extend it to support 3/4-level page
>> tables, probably in a sperate file?
>
> I suspect there may be a lot of commonality between the code for
> handling different pagteable arrangements (2 vs. 3 vs 4 level, and
> 4-byte vs 8-byte PTEs). Rather than duping the code for each case,
> maybe we can have one codebase with minimal ifdef's that works with
> the l_pgentry types, then perhaps gets compiled multiple times with
> different-size types and macros differently defined?
>
> As you say, it's probably best to consider the best course of action
> after we have x-type guest working on x-type host (for x ==
> x86/32,PAE,x86/64).
One more thing, NX/XD support. The bit 63 really confuses Xen and has
impacts on pfn calculation routines/macros. I needed to disable that
feature on x86-64 xenolinux at this point.
Jun
>
> -- Keir
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_idh83&alloc_id149&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|