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] 64-bit failsafe callback

To: <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] 64-bit failsafe callback
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 28 Mar 2006 03:30:05 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Mar 2006 01:31:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
>The reload into %gs is indeed bogus -- it should instead 
>HYPERVISOR_set_segment_base(SEGBASE_GS_USER_SEL, gs).

... and then perhaps also for %fs (though I see there is no
hypercall for that, so this is going to be more complicated,
given that this happens in an assembly file), and perhaps
avoiding the two loads altogether if the selectors are zero
and their present values are also zero, to prevent trampling
on any base values in effect.

Jan

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

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