Received: from eggs.gnu.org ([208.118.235.92]:57986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPs0R-0000Sy-Sh for qemu-devel@nongnu.org; Thu, 03 May 2012 05:07:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPs0N-0002Dr-4G for qemu-devel@nongnu.org; Thu, 03 May 2012 05:07:23 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47428 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPs0M-0002Dj-Tr for qemu-devel@nongnu.org; Thu, 03 May 2012 05:07:19 -0400 Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: Date: Thu, 3 May 2012 11:07:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: Subject: Re: [Qemu-devel] [PATCH] Fix legacy device aliases for s390 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Christian Borntraeger , aliguori@us.ibm.com, qemu-devel@nongnu.org On 03.05.2012, at 11:05, Paolo Bonzini wrote: >=20 >>> The usual old fix was to not even compile them in. Why are they in >>> the alias list in the s390 build now? >>=20 >> Because the alias list is in target-independent code. >>=20 >> The old fix was brittle anyway, it dependent on the fact that >> virtio-blk-pci was not part of libhw. A similar trick broke for >> cirrus-vga when it became part of libhw. >>=20 >> Christian fix is correct. >=20 > Uhm, Christian fix would have the same problem actually if > virtio-*-pci were to be moved in libhw. IIRC I proposed the > same change on review and Anthony nacked it on these grounds. > You could move the alias list to target-dependent code, though. Can't we just make the virtio-*-pci variants fail instantiation and = based on that search the list on? Alex