Received: from eggs.gnu.org ([140.186.70.92]:44682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmie1-00038u-1a for qemu-devel@nongnu.org; Fri, 29 Jul 2011 04:42:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qmidz-0000Hj-RU for qemu-devel@nongnu.org; Fri, 29 Jul 2011 04:42:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qmidz-0000HV-Hf for qemu-devel@nongnu.org; Fri, 29 Jul 2011 04:42:07 -0400 From: Markus Armbruster References: <1311179069-27882-1-git-send-email-armbru@redhat.com> <1311179069-27882-19-git-send-email-armbru@redhat.com> <20110726120255.GG1418@lst.de> Date: Fri, 29 Jul 2011 10:41:58 +0200 In-Reply-To: (Markus Armbruster's message of "Tue, 26 Jul 2011 15:36:50 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH 18/55] scsi-disk: Reject CD-specific SCSI commands to disks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Hellwig Cc: kwolf@redhat.com, stefano.stabellini@eu.citrix.com, dbaryshkov@gmail.com, quintela@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, amit.shah@redhat.com Markus Armbruster writes: > Christoph Hellwig writes: > >> On Wed, Jul 20, 2011 at 06:23:52PM +0200, Markus Armbruster wrote: >>> Use a table to declare which drive kinds accept each command. >>> >>> Limit READ_CAPACITY, READ_TOC, GET_CONFIGURATION to SCSI_CD, as per >>> SPC-4. >> >> READ CAPACITY is defined in SBC, and absolutely required for proper >> operation with disks. > > Will fix. Second thoughts: dropping this bug fix patch for now, because it clashes with Hannes's work in progress[*], and the rest of my series doesn't depend on it. [*] [PATCH 6/6] scsi-disk: Check for supported commands http://lists.gnu.org/archive/html/qemu-devel/2011-07/msg03082.html