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: Guest-visible phys2mach part of Xen arch-neutral API? was: [Xen-deve

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: Guest-visible phys2mach part of Xen arch-neutral API? was: [Xen-devel] Uses of &frame_table[xfn]
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 29 Dec 2005 20:34:21 +0000
Cc: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Dec 2005 20:32:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5902C85@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <516F50407E01324991DD6D07B0531AD5902C85@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 29 Dec 2005, at 18:51, Magenheimer, Dan (HP Labs Fort Collins) wrote:

So then is p==m in dom0 (and driver domains) an unacceptable design
alternative for (non-x86) Xen architectures?  If it is acceptable,
then the question remains:

I think *that* is the critical question here. My feeling is that having p==m for any domain (even domain0) may have a siginificant effect on the amount of otherwise arch-indep xenlinux code you can share. My feeling is therefore that dom0 should be like any domU and have virtualised p (!= m). This is somewhat a gut feeling though -- perhaps something to discuss and think about at the summit?

It's true that p!=m in a driver domain is a bit more of a pain than p==m, but a lot of the work has been done for x86/xen and I think can be used by other architectures.

So the question becomes: Should Xen drivers be made more portable
to accommodate architectures where a guest-visible phys2mach table
is NOT required for paravirtualizing the architecture?  Or should
Linux code for each architecture that is ported to Xen be modified
to utilize data structures that are only really necessary for x86?

This I care less about. If we decide that even driver domains will have p!=m, you will certainly need some way to get at m, but I think whether that is via an array mapped into the guest's address space or by some other means (e.g., hypercall) is an implementation detail that can vary across architectures.

 -- Keir


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