From: Samuel Thibault Subject: Re: 4gb_segments & movzbl Date: Wed, 7 Mar 2007 01:34:42 +0100 Message-ID: <20070307003442.GG3317@interface.famille.thibault.fr> References: <20070307002528.GF3317@interface.famille.thibault.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20070307002528.GF3317@interface.famille.thibault.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, Samuel Thibault, le Wed 07 Mar 2007 01:25:28 +0100, a =E9crit : > I'm using VMASS_4gb_segments for now, and tried the following program: >=20 > __thread char a; > int main(void) { > printf("%d\n",a); > } >=20 > And I'm getting a SIGILL at >=20 > 8048450: 65 0f b6 05 ff ff ff movzbl %gs:0xffffffff,%eax >=20 > 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