From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOrM2-00044X-8p for qemu-devel@nongnu.org; Tue, 24 May 2011 09:09:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOrLx-0002qW-PT for qemu-devel@nongnu.org; Tue, 24 May 2011 09:08:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOrLx-0002qN-HM for qemu-devel@nongnu.org; Tue, 24 May 2011 09:08:53 -0400 Message-ID: <4DDBADDF.5030904@redhat.com> Date: Tue, 24 May 2011 15:08:47 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1306237507-19189-1-git-send-email-pbonzini@redhat.com> <1306237507-19189-2-git-send-email-pbonzini@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] spapr: allow creating devices with -device List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: david@gibson.dropbear.id.au, qemu-devel@nongnu.org, agraf@suse.de On 05/24/2011 03:03 PM, Markus Armbruster wrote: > > This is particularly important with the conversion from scsi-disk > > to scsi-{cd,hd} that Markus made. After his patches, if you > > specify a scsi-cd device attached to an if=none drive, the default > > VSCSI controller will not be created and, without qdevification, > > you will not be able to add yours. > > Really? Hasn't that always been the case? What hasn't always been the case? :) 1) "the default VSCSI controller will not be created" -- no, this is new with scsi-cd: scsi-disk never was on the default_driver_table in vl.c, as you said in the commit message for af6bf13 (defaults: ide-cd, ide-hd and scsi-cd devices suppress default CD-ROM, 2011-05-18). In fact, I believe you could add scsi-hd there too. 2) "without qdevification, you will not be able to add yours" -- that of course has always been the case. But I never noticed because there was no way to avoid creating the default CD-ROM, and this in turn forced the non-qdev-clean creation of the VSCSI controller. Paolo