qcow2 · shipping · also QEMU copy-on-write version 2

QCOW2

QCOW2 is a virtual disk image format that maps guest clusters to stored data, explicit zeros or data inherited from a backing file.

Mapping: guest-visible capacity and host file allocation are distinct. In the standard cluster mapping, an unallocated region can inherit backing data, while an explicit zero cluster masks that data. Reads beyond the end of an existing backing file return zeros. [1]

Verification: Hesela changed one stored payload byte without changing allocation metadata; QEMU 8.2.2 still completed its consistency check successfully. The changed byte was detected by a full export and comparison against the known baseline. This is a controlled example, not a general claim that the checker misses every corruption. [3]

Preservation: identify required backing files as well as the overlay. A top-file hash alone does not identify the entire virtual disk's contents. [2]

External payload: a QCOW2 file may keep its guest data in a separate external data file, even without a backing image. Preserve that dependency and its effective opening configuration. [1]

Tracking metadata: persistent dirty bitmaps are separate from guest payload mappings. Their in_use state can signal outdated change records despite well-formed bitmap metadata. [4]

Relations

related
QCOW2 backing chain, Copy-on-write (storage), Storage snapshot, Backup verification, QCOW2 external data file, Fast Virtual Disk (FVD), Reflink, Changed block tracking, Dirty bitmap, Copy-on-read, Virtio block device (virtio-blk), Virtio SCSI host (virtio-scsi)

Citations

  1. QEMU 8.2.2: QCOW2 image file format, cluster mapping and zero clusters (accessed 2026-10-18)
  2. libvirt: disk image chains, backing formats and relocation (accessed 2026-10-18)
  3. Hesela: QCOW2 dependency and verification observations (accessed 2026-10-18)
  4. QEMU v10.1.0 QCOW2 format: bitmap directory and dirty tracking bitmaps (accessed 2026-10-28)

JSON: /data/terms/qcow2.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. QCOW2. Hesela. 2026-11-17. https://hesela.dev/terms/qcow2/