29 messages in com.xensource.lists.xen-develRe: Guest-visible phys2mach part of X...
FromSent OnAttachments
Magenheimer, Dan (HP Labs Fort Collins)18 Dec 2005 19:18 
Ian Pratt18 Dec 2005 20:23 
Magenheimer, Dan (HP Labs Fort Collins)22 Dec 2005 15:28 
Ewan Mellor23 Dec 2005 02:28 
Keir Fraser23 Dec 2005 03:46 
Magenheimer, Dan (HP Labs Fort Collins)23 Dec 2005 05:05 
Magenheimer, Dan (HP Labs Fort Collins)23 Dec 2005 05:27 
Keir Fraser23 Dec 2005 06:37 
Ewan Mellor23 Dec 2005 07:27 
Magenheimer, Dan (HP Labs Fort Collins)23 Dec 2005 12:33 
Tian, Kevin26 Dec 2005 01:12 
Magenheimer, Dan (HP Labs Fort Collins)28 Dec 2005 14:15 
Muli Ben-Yehuda28 Dec 2005 14:23 
Magenheimer, Dan (HP Labs Fort Collins)28 Dec 2005 14:30 
Magenheimer, Dan (HP Labs Fort Collins)28 Dec 2005 14:42 
Cihula, Joseph28 Dec 2005 17:49 
Tian, Kevin28 Dec 2005 17:58 
Keir Fraser29 Dec 2005 05:47 
Magenheimer, Dan (HP Labs Fort Collins)29 Dec 2005 08:12 
Keir Fraser29 Dec 2005 08:15 
Magenheimer, Dan (HP Labs Fort Collins)29 Dec 2005 10:51 
Keir Fraser29 Dec 2005 12:33 
Magenheimer, Dan (HP Labs Fort Collins)29 Dec 2005 13:38 
Tian, Kevin29 Dec 2005 18:15 
Ewan Mellor30 Dec 2005 05:40 
Kevin Fox30 Dec 2005 08:35 
Magenheimer, Dan (HP Labs Fort Collins)30 Dec 2005 11:49 
Mark Williamson02 Jan 2006 11:22 
Hollis Blanchard03 Jan 2006 13:54 
Subject:Re: Guest-visible phys2mach part of Xen arch-neutral API? was: [Xen-devel] Uses of &frame_table[xfn]
From:Keir Fraser (Keir@cl.cam.ac.uk)
Date:12/29/2005 12:33:59 PM
List:com.xensource.lists.xen-devel

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