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] [PATCH] xen 3.3 unstable: xend segfaults on amd64 when s

To: Juergen Keil <jk@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen 3.3 unstable: xend segfaults on amd64 when starting a hvm domain
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 21 May 2008 16:50:19 +0100
Delivery-date: Wed, 21 May 2008 08:50:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080521153219.3795C4ABD6@xxxxxxxxxxxxxxxx>
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: Aci7Wl6unRZL+CdNEd2nzwAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] xen 3.3 unstable: xend segfaults on amd64 when starting a hvm domain
User-agent: Microsoft-Entourage/11.4.0.080122
On 21/5/08 16:32, "Juergen Keil" <jk@xxxxxxxx> 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



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

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