From: Keir Fraser Subject: Re: [PATCH] xen 3.3 unstable: xend segfaults on amd64 when starting a hvm domain Date: Wed, 21 May 2008 16:50:19 +0100 Message-ID: References: <20080521153219.3795C4ABD6@imap.tools.intra> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080521153219.3795C4ABD6@imap.tools.intra> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Keil , xen-devel List-Id: xen-devel@lists.xenproject.org On 21/5/08 16:32, "Juergen Keil" wrote: > Anyway. Problem with the current code is that it is broken for > amd64 / x86_64. When compiling cpuid() for 64-bit x86 code, we have > to save and restore all 64-bits of the %rbx register; the current > asm() statement saves/restores the lower 32-bits only, thashing the > top 32-bits. > > Due to this bug, xen-3.3 unstable xend is segfaulting in a 64-bit > opensolaris dom0. Thanks for the fix. That was my own stupid mistake! -- Keir