Christoph Hellwig has announced a new testsuite for the Linux in-kernel SCSI target:
http://risingtidesystems.com/git/?p=scsi-testsuite.git;a=tree We will need something similar for virtio-scsi. Maybe we can contribute and use this for QEMU SCSI emulation testing, I haven't checked how target-specific the golden output is yet. It's based on qemu-iotests, so the structure is familiar but uses sg3-utils to send SCSI commands instead of qemu-io. Stefan