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/
Home Products Support Community News


Re: [Xen-devel] Re: [Xen-users] xm create of a VMX fails - qemu-dm gets

To: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] xm create of a VMX fails - qemu-dm gets SIGSEGV
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 1 Dec 2005 09:59:20 +0000
Cc: Steve Dobbelstein <steved@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Dec 2005 09:53:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200511302356.42700.dsteklof@xxxxxxxxxx>
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>
References: <OF20E971EF.D90734D0-ON062570C9.00817827-062570CA.0000E568@xxxxxxxxxx> <200511302356.42700.dsteklof@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 1 Dec 2005, at 07:56, Daniel Stekloff wrote:

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

ptsname() should be run on the master_fd, not the slave_fd. I'll check in the trivial fix.

 -- Keir

Xen-devel mailing list