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] [PATCH] fix memory exchange hypercall.

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] fix memory exchange hypercall.
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 15 Mar 2007 20:42:01 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Mar 2007 04:41:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C21ED795.B898%keir@xxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070315095305.GB1819%yamahata@xxxxxxxxxxxxx> <C21ED795.B898%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Thu, Mar 15, 2007 at 10:59:33AM +0000, Keir Fraser wrote:
> Do the p2m semantics of the two architectures really need to differ? Can't
> ia64 match x86 semantics (or vice versa)? Otherwise you're going to be
> continually getting broken and having to implement skanky workarounds.

I fully agree with you.
I've tried, but I haven't found any good way yet. :-(.


The big differrence is that the x86 p2m table (i.e. hvm domain)
doesn't support foreign domain page mapping and grant table page mapping.
On the other hand, the ia64 p2m supports them.
(NOTE:The ia64 p2m is used for both para/full virtualized domain.
Even for dom0. So they must be supported.)

For that purpose, the ia64 p2m table semantic is something
similar to (the x86 p2m table) + (the x86 page table reference counting).
(NOTE:those page mapping are based on virtual address
with x86 paravirtualized domain. On the other hand they are based
on pseudo physical address with auto translated physmap mode
i.e. hvm domain or ia64 domain.
This is the root cause of the difference.)

If the x86 p2m table supported those page mapping, 
the similar semantics would be necessary, I suppose.
But it won't happen in the near future.
-- 
yamahata

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