From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPrn1-0006sR-2n for qemu-devel@nongnu.org; Thu, 03 May 2012 04:53:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPrmr-0004pp-66 for qemu-devel@nongnu.org; Thu, 03 May 2012 04:53:30 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:41087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPrmq-0004p6-QR for qemu-devel@nongnu.org; Thu, 03 May 2012 04:53:21 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 3 May 2012 09:53:18 +0100 Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q438rCvI2117802 for ; Thu, 3 May 2012 09:53:14 +0100 Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q438rC4a024209 for ; Thu, 3 May 2012 02:53:12 -0600 Message-ID: <4FA24777.6090208@de.ibm.com> Date: Thu, 03 May 2012 10:53:11 +0200 From: Christian Borntraeger MIME-Version: 1.0 References: <1336034836-17892-1-git-send-email-borntraeger@de.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Fix legacy device aliases for s390 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: pbonzini@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org On 03/05/12 10:49, Alexander Graf wrote: > > On 03.05.2012, at 10:47, Christian Borntraeger wrote: > >> When qemu is called with -device virtio-serial/blk/net on s390, this alias >> is translated to virtio-serial/blk/net-pci instead of s390, since these >> drivers are first in the alias table. >> Let the core code check if the driver exist, if not lets search further. >> This fixes errors like: >> >> qemu-kvm: -device virtio-serial,id=virtio-serial0: Parameter 'driver' >> expects device type >> >> Signed-off-by: Christian Borntraeger > > The usual old fix was to not even compile them in. Why are they in the alias list in the s390 build now? Huh? The aliases always worked for me when I compiled qemu myself for s390. This changed with commit 6acbe4c6f18e7de00481ff30574262b58526de45 Author: Anthony Liguori Date: Thu Dec 22 11:05:00 2011 -0600 qdev: remove baked in notion of aliases (v2) In other word v1.0 is fine, master is not. This looks like a regression, no? Christian