On 14/01/2021 17.05, Stefan Hajnoczi wrote:
On Wed, Jan 06, 2021 at 03:04:20PM +0100, Thomas Huth wrote:
On 05/01/2021 11.49, Stefan Hajnoczi wrote:
[...]
+Applications that send SCSI commands are better served by the virtio-scsi
+device, which has full SCSI support. SCSI passthrough was removed from the
+Linux virtio-blk driver in v5.6 in favor of using virtio-scsi.
Since "passthrough" sounds like a passthrough of real hardware devices, I'd
maybe rather say something like: The original virtio-blk devices also
included the possibility to handle SCSI commands, but this features was
removed from the Linux driver in v5.6 in favor of using virtio-scsi (and is
also not available for modern virtio-1.0 devices anymore).
Guest SCSI commands were passed through to the physical LUN but what you
described sounds more like emulating SCSI commands, which is not what
the feature did.
Ok, I likely just understood that feature in the wrong way. Looking at the
virtio spec, it just talks about the possibility to send SCSI commands to
the virtio-blk device, but looking at the implementation in QEMU, it seems
more like the way you described, so never mind my comment.
Thomas