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] hypercall_xlat_continuation()

To: Jan Beulich <JBeulich@xxxxxxxxxx>, "mukesh.rathor@xxxxxxxxxx" <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] hypercall_xlat_continuation()
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 27 May 2009 09:04:48 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 27 May 2009 01:05:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A1D0FBA0200007800002C86@xxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcneoYAFvyhAytBzSb+NN+Q/cGSwDgAAE2/k
Thread-topic: [Xen-devel] hypercall_xlat_continuation()
User-agent: Microsoft-Entourage/12.17.0.090302
On 27/05/2009 09:02, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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



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