virtio-blk · shipping · also virtio-blk

Virtio block device (virtio-blk)

Virtio-blk is a paravirtualized block-device interface through which a guest submits storage requests to a virtual disk.

Interface: One virtio-blk device presents one disk; multiple queues do not make it a SCSI controller. Device features are distinct from the backend image format. [2] [3]

Persistence: Interpret write completion using negotiated flush and writeback settings; it is not an unconditional durability guarantee. Conversely, conforming writethrough configurations can require stability at completion. Switching writeback off does not by itself guarantee that older cached writes have become persistent. [1]

QEMU cache settings: cache=none enables direct host I/O, but retains the guest-device writeback setting and does not suppress flushes. cache=unsafe enables flush suppression; neither name changes the image format. [4]

Relations

related
Virtio SCSI host (virtio-scsi), Block device, QCOW2, Storage cache flush

Citations

  1. OASIS VIRTIO 1.2 CS01 (1 July 2022): sections 5.2 and 5.6 (accessed 2026-11-17)
  2. QEMU: Configuring virtio-blk and virtio-scsi Devices (19 January 2021) (accessed 2026-11-17)
  3. QEMU: An Overview of QEMU Storage Features (14 September 2020) (accessed 2026-11-17)
  4. QEMU system documentation: cache.direct, cache.no-flush and -drive cache mode mapping (accessed 2026-11-17)

Further reading

  1. Hesela: virtual interfaces and QCOW2 recovery boundaries (accessed 2026-11-17)
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.

JSON: /data/terms/virtio-blk.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Virtio block device (virtio-blk). Hesela. 2026-11-17. https://hesela.dev/terms/virtio-blk/