|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH,RFC 0/17] 32-on-64 work progress
On 11/10/06 11:16, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:
> 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?
In general, the 64b struct. ABI shims in Xen will be selected based on the
execution mode of the caller, not that subject domain (if there is one).
> 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.
In this case we extend the semantics of get/setvcpucontext to say that you
pass a pointer to a vcpu_context structure corresponding to the execution
mode of the subject.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|