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

[Xen-devel] Re: 4gb_segments & movzbl

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: 4gb_segments & movzbl
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Wed, 7 Mar 2007 01:34:42 +0100
Delivery-date: Wed, 07 Mar 2007 01:37:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070307002528.GF3317@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20070307002528.GF3317@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Hi,

Samuel Thibault, le Wed 07 Mar 2007 01:25:28 +0100, a écrit :
> I'm using VMASS_4gb_segments for now, and tried the following program:
> 
> __thread char a;
> int main(void) {
>       printf("%d\n",a);
> }
> 
> And I'm getting a SIGILL at
> 
>  8048450:       65 0f b6 05 ff ff ff    movzbl %gs:0xffffffff,%eax
> 
> When turning `a' into an int, the program works.  I guess this is
> because movzbl is somehow not correctly supported by the 4gb segment
> emulation?

That said, my hypervisor may be a bit old (3.0.3-0, more recent versions
fail to boot on my laptop).

Samuel

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

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