From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34120 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTBOs-0001ak-Rq for qemu-devel@nongnu.org; Mon, 28 Jun 2010 06:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTBOo-000801-2y for qemu-devel@nongnu.org; Mon, 28 Jun 2010 06:17:14 -0400 Received: from verein.lst.de ([213.95.11.210]:38725) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTBOn-0007z8-NR for qemu-devel@nongnu.org; Mon, 28 Jun 2010 06:17:10 -0400 Date: Mon, 28 Jun 2010 12:16:58 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] Re: [PATCH 08/12] block: Catch attempt to attach multiple devices to a blockdev Message-ID: <20100628101658.GA1997@lst.de> References: <1277484812-22012-1-git-send-email-armbru@redhat.com> <1277484812-22012-9-git-send-email-armbru@redhat.com> <20100626101146.GC27699@lst.de> <20100627093609.GA12016@lst.de> <4C285C51.9020003@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C285C51.9020003@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org, kraxel@redhat.com, Christoph Hellwig , Markus Armbruster On Mon, Jun 28, 2010 at 10:24:49AM +0200, Kevin Wolf wrote: > How would breaking compatibility help us? For the user a USB MSD is only > one device, so requiring two -device parameters sounds wrong. But it is separate devices. At least the standards compliant usb storage devices just are a bride of scsi commands over usb and fit into the SAM device model, which makes a difference between initiator, target and LUN. So having a different device for the specific target vs the initiator port makes a difference. (and yes, we're still totally missing support for multiple luns, which would require another level of devices). Trying to hide this is not all that useful - not anymore useful than hiding it on a "normal" scsi host controller anyway.