Markus Armbruster <arm...@redhat.com> writes: > Christoph Hellwig <h...@lst.de> 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