Pcornel
Virtualization · VM Hardware › Storage Controllers

VirtIO SCSI

Cheat sheet · https://pcornel.dk/topic.php?topic=3467

Back to the Topic

Answer

VirtIO SCSI exposes a SCSI-style device model through VirtIO queues. It generally requires an appropriate VirtIO driver in the guest and is common in KVM/QEMU-based environments.

Remember

  • VirtIO SCSI depends on a compatible guest VirtIO driver.
  • Paravirtualized does not mean the guest bypasses the hypervisor or backing storage.
  • Controller presence and driver load are separate proof points.
  • Performance still depends on queue configuration, host scheduler and storage backend.

First checks

  • qm set <vmid> --scsihw virtio-scsi-single — one controller per disk with iothread (Proxmox)
  • lsmod | grep virtio_scsi — guest driver
  • virsh dumpxml <vm> | grep "model='virtio-scsi'" — libvirt

Verify in this order

guest vioscsi → virtio-scsi → QEMU iothread → storage

Where it usually breaks

First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.

VM Hardware → Storage Controllers → VirtIO SCSI reference map

BoundaryMeaningEvidence limit
InterfaceParavirtual SCSIVirtualization-aware
DriverVirtIO guest driverRequired
Queue pathVirtqueues through hypervisorStill scheduled
BackendHost storageIndependent capacity/latency

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3467

Confirmation

Confirm action

Continue?