Received: from eggs.gnu.org ([140.186.70.92]:58913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlhol-0000Iv-5a for qemu-devel@nongnu.org; Tue, 26 Jul 2011 09:37:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qlhok-0001vk-5y for qemu-devel@nongnu.org; Tue, 26 Jul 2011 09:37:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlhoj-0001vb-VC for qemu-devel@nongnu.org; Tue, 26 Jul 2011 09:37:02 -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: Tue, 26 Jul 2011 15:36:50 +0200 In-Reply-To: <20110726120255.GG1418@lst.de> (Christoph Hellwig's message of "Tue, 26 Jul 2011 14:02:55 +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 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.