VirtIO Block
Cheat sheet · https://pcornel.dk/topic.php?topic=3515
Answer
VirtIO Block is a paravirtualized block-device interface used by virtualization stacks such as QEMU/KVM to present efficient guest block I/O through a virtio driver rather than emulating a physical disk controller protocol.
Remember
- VirtIO Block is a guest-facing I/O interface, not a disk image format or storage backend.
- Guest driver presence and feature negotiation are prerequisites for correct operation.
- Virtio can reduce emulation overhead but does not remove host/backend latency.
- A virtio device present in the guest does not prove the backing image/pool is healthy.
First checks
lsblk -d -o NAME,MODEL— vda devices = virtio-blkvirsh dumpxml <vm> | grep "bus='virtio'"— libvirt virtio-blkqm config <vmid> | grep virtio— Proxmox virtio disks
Verify in this order
guest virtio-blk → QEMU → storage
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
Virtual Storage → VirtIO Block reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest driver | virtio-blk | Front-end |
| Virtqueue/device | paravirtual transport | Virtualization boundary |
| Backend mapping | image/block object | Host mapping |
| Storage backend | actual storage | Latency/persistence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3515