Virtio SCSI host (virtio-scsi)
Virtio-scsi is a paravirtualized SCSI host interface that carries commands to logical units addressed through targets and LUNs.
Interface: Unlike one-disk virtio-blk, a virtio-scsi controller can expose multiple devices. QEMU can serve an image through scsi-hd; this is not necessarily physical SCSI passthrough. [2]
Completion: VIRTIO_SCSI_S_OK means a SCSI status was supplied, not necessarily GOOD status. Inspect SCSI status, sense data and residual length as applicable. [1]
Storage: The guest interface does not specify QCOW2 or remove an image's dependencies. [3]
Relations
- related
- Virtio block device (virtio-blk), SCSI, Logical unit number (LUN), Command descriptor block (CDB), QCOW2
Citations
- OASIS VIRTIO 1.2 CS01 (1 July 2022): sections 5.2 and 5.6
- QEMU: Configuring virtio-blk and virtio-scsi Devices (19 January 2021)
- QEMU: An Overview of QEMU Storage Features (14 September 2020)
Further reading
Sources & caveats
- Documentation synthesis, not a VM benchmark, conformance test or power-loss experiment.
- VIRTIO 1.2 CS01 is the reviewed baseline, not a claim that it is the latest edition.