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-users] xm create of a VMX fails - qemu-dm gets SIGSEGV

To: xen-users@xxxxxxxxxxxxxxxxxxx, Steve Dobbelstein <steved@xxxxxxxxxx>
Subject: Re: [Xen-users] xm create of a VMX fails - qemu-dm gets SIGSEGV
From: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Date: Wed, 30 Nov 2005 23:56:42 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Dec 2005 07:55:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <OF20E971EF.D90734D0-ON062570C9.00817827-062570CA.0000E568@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <OF20E971EF.D90734D0-ON062570C9.00817827-062570CA.0000E568@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6.2
On Wednesday 30 November 2005 16:09, Steve Dobbelstein wrote:
> Greetings, all.
>
> I'm having trouble getting a VMX domain started.  I'm running on changeset
> 8119.  Shortly after the "xm create" finishes the qemu-dm process goes
> defunct.  I wrote a little script so that strace could attach to the
> qemu-dm process right after the "xm create" finishes:

The problem is ptsname(slave_fd) is returning NULL in the ioemu/vl.c code that 
was introduced in changeset 8118:590915af8117. 

I've changed ptsname to ttyname() and it works. Not sure if this is the right 
fix. 

Signed-off-by: Daniel Stekloff <dsteklof@xxxxxxxxxx>

Attachment: ioemu-fix.patch
Description: Text Data

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