|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
RE: [Xen-devel] [patch] PAE support revisited 
| To: | "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>,	"Gerd Knorr" <kraxel@xxxxxxxxxxx> |  
| Subject: | RE: [Xen-devel] [patch] PAE support revisited |  
| From: | "Nakajima, Jun" <jun.nakajima@xxxxxxxxx> |  
| Date: | Wed, 23 Mar 2005 07:22:27 -0800 |  
| Cc: | "Karen White" <kawhite@xxxxxxxxxx>,	"Nuutti Kotivuori" <naked@xxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>,	<ian.pratt@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx> |  
| Delivery-date: | Wed, 23 Mar 2005 15:30:55 +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: | AcUvBCP7Ch+CjZabT9SKwqeW0b0XVQAAnF9AACzDFSA= |  
| Thread-topic: | [Xen-devel] [patch] PAE support revisited |  
| Ian Pratt wrote:
>>>  * cleanup use of 'unsigned long' that exists in some handling of
>>> PTEs. We've agreed a strategy of doing this with Gerd
>> 
>> Next version of this cleanup patch, comments are welcome.
> 
> Gerd, I think this patch is definitely the right idea.
> 
> I don't particularly like the names of your macros, but I can't think
> of any better.
> 
> The init_0 is rather superfluous.
> 
>> Handle with care for now.  It builds and boots domain0 fine for me.
>> But will break the x86_64 build and isn't tested much otherwise.
> 
> Let's get the new shadow mode code checked in, then get everything
> (including x86_64) switched over to the new macros.
> 
> Ian
> 
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?
Jun
 
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_idh82&alloc_id148&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
 | 
 |  | 
  
    |  |  |