From: Hollis Blanchard Subject: Re: [PATCH] Hypercalls from HVM guests Date: Mon, 24 Apr 2006 11:53:01 -0500 Message-ID: <1145897581.19906.42.camel@basalt.austin.ibm.com> References: <444920C7.2070705@virtualiron.com> <15277a6e2bde8c0d0a88162b1d5eee55@cl.cam.ac.uk> <444A48E0.6040809@virtualiron.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <444A48E0.6040809@virtualiron.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steve Ofsthun Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, 2006-04-22 at 11:16 -0400, Steve Ofsthun wrote: > > > 3. On 64-bit, you may even want a separate 32-bit hypercall table > > containing wrappers that interface between 32-bit callers and the > core > > 64-bit hypercall functions. > > At the moment, all of this can be dealt with in HVM DomU code. By > doing it > there, we can avoid explicit parameter copying on every hypercall. > The 32-bit > vs. 64-bit hypercall interface variations are not unique to HVM code. > Adding > conversion interfaces in the hypervisor is only one solution to this > problem. > The interfaces themselves could be made size invariant. Except for > backward > compatibility, the 32-bit interfaces could be made identical to the > 64-bit > interfaces using proper data typing and explicit data alignment. Sounds like a good idea to me... ;) -- Hollis Blanchard IBM Linux Technology Center