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,RFC 0/17] 32-on-64 work progress

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH,RFC 0/17] 32-on-64 work progress
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 11 Oct 2006 12:16:36 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Wed, 11 Oct 2006 03:17:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1527AC6.255C%Keir.Fraser@xxxxxxxxxxxx>
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: <C1527AC6.255C%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (X11/20060911)
Keir Fraser wrote:
> On 11/10/06 10:11, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:
> 
>> Do you have any plans how domU bootup is going to work?  Especially how
>> hypercalls where one domain (typically dom0) changes the state of
>> another domain are supposed to work?  That includes the complete
>> XEN_DOMCTL_* family, also some memory management hypercalls such as
>> mach2phys and pagetable updates, maybe more.  These are used by the
>> domain tools to create a new domain and somehow must handle the case
>> that we want be able to build 32bit guest domains from a 64bit dom0 (and
>> visa versa?).
> 
> The tools are going to have to know that they are building a 32p-on-64
> guest. What problems do you perceive?

Sure, they have to know.  Question is what do you pass in when changing
a 32bit guest from 64bit dom0.  The 32bit struct?  The 64bit struct?  I
think in many cases both will work just fine and we have just have to
pick one way.  XEN_DOMCTL_setvcpucontext is a icky one though, the 64bit
 struct isn't a superset of the 32bit struct, so we probably have to
pass the 32bit version for 32bit guests.

cheers,

  Gerd

-- 
Gerd Hoffmann <kraxel@xxxxxxx>
http://www.suse.de/~kraxel/julika-dora.jpeg

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