From: Keir Fraser Subject: Re: hypercall_xlat_continuation() Date: Wed, 27 May 2009 09:04:48 +0100 Message-ID: References: <4A1D0FBA0200007800002C86@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A1D0FBA0200007800002C86@vpn.id2.novell.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: Jan Beulich , "mukesh.rathor@oracle.com" Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 27/05/2009 09:02, "Jan Beulich" wrote: >>> You know that all the 'xlat' stuff in Xen is for 32-bit guests running on >>> 64-bit hypervisor, right? 64-bit dom0 would never execute this logic. >> >> Unless someone like me, in trying to make 32bit apps on 64bit dom0 work, >> causes it to take compat path if it's 32bit hcall. Yeah, I know whacky :)... > > I don't think that's a good approach - even when dealing with 32-bit apps, > it's a 64-bit kernel, and hence you should rather translate things to the > 64-bit format in the kernel layer that sits in between (after all, apps can't > do hypercalls directly). Why would you do that when the tedious translation mechanism already exists in the hypervisor? -- Keir