Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] Re: sysenter/syscall support for 32-on-64 guests?

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Re: sysenter/syscall support for 32-on-64 guests?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 28 Feb 2008 21:22:38 +0000
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <ijc@xxxxxxxxxxxxxx>
Delivery-date: Thu, 28 Feb 2008 13:22:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47C6F9FD.76E4.0078.0@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ach6UAr3SUNweOZDEdyf+QAWy6hiGQ==
Thread-topic: [Xen-devel] Re: sysenter/syscall support for 32-on-64 guests?
User-agent: Microsoft-Entourage/11.3.6.070618
On 28/2/08 17:14, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> Anyway, I wonder if you had a specific reason for allowing this, other
>> than "because we can"?  It seems to me that we should try to minimize
>> the number of differences between 32-on-32 and 32-on-64 as much as possible.
> 
> Since int80 cannot be directly passed to the guest (as in 32-on-32), it
> seemed reasonable to cut on the overhead of syscalls by at least
> allowing this (and syscall could also be made work now that the vdso
> stuff is unified in 2.6.25) - for obvious reasons it still goes through the
> hypervisor, but gets there faster

Ah yes, I must admit I temporarily forgot you can only target 64-bit code
segments in a long-mode IDT.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>