Statistics
| Branch: | Revision:

root / block @ 80465e80

Name Size
blkdebug.c 12.5 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
cow.c 9.5 kB
curl.c 16.2 kB
dmg.c 8.7 kB
iscsi.c 18.7 kB
nbd.c 13.9 kB
parallels.c 4.8 kB
qcow.c 26.9 kB
qcow2-cache.c 8.2 kB
qcow2-cluster.c 34.6 kB
qcow2-refcount.c 39.4 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 47.2 kB
qcow2.h 9.7 kB
qed-check.c 5.8 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 45.3 kB
qed.h 10.8 kB
raw-posix-aio.h 1.5 kB
raw-posix.c 31.7 kB
raw-win32.c 11.6 kB
raw.c 3.2 kB
rbd.c 22.4 kB
sheepdog.c 52.9 kB
stream.c 8.2 kB
vdi.c 24.1 kB
vmdk.c 45.7 kB
vpc.c 22.4 kB
vvfat.c 81.1 kB

Latest revisions

# Date Author Comment
1f8bcac0 04/23/2012 10:27 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony: (38 commits)
    qemu-iotests: Fix test 031 for qcow2 v3 support
    qemu-iotests: Add -o and make v3 the default for qcow2
    qcow2: Zero write support
    qemu-iotests: Test backing file COW with zero clusters...
621f0589 04/20/2012 04:57 pm Kevin Wolf

qcow2: Zero write support

Signed-off-by: Kevin Wolf <>

76dc9e0c 04/20/2012 04:57 pm Kevin Wolf

qcow2: Ignore reserved bits in refcount table entries

Signed-off-by: Kevin Wolf <>

afdf0abe 04/20/2012 04:57 pm Kevin Wolf

qcow2: Ignore reserved bits in check_refcounts

Also don't infer the cluster type directly from the L2 entries, but use
qcow2_get_cluster_type() to keep everything in a single place.

Signed-off-by: Kevin Wolf <>

6744cbab 04/20/2012 04:57 pm Kevin Wolf

qcow2: Version 3 images

This adds the basic infrastructure to qcow2 to handle version 3 images.
It includes code to create v3 images, allow header updates for v3 images
and checks feature bits.

It still misses support for zero clusters, so this is not a fully...

6377af48 04/20/2012 04:57 pm Kevin Wolf

qcow2: Support reading zero clusters

This adds support for reading zero clusters in version 3 images.

Signed-off-by: Kevin Wolf <>

cfcc4c62 04/20/2012 04:57 pm Kevin Wolf

qcow2: Support for feature table header extension

Instead of printing an ugly bitmask, qemu can now print a more helpful
string even for yet unknown features.

Signed-off-by: Kevin Wolf <>

8e37f681 04/20/2012 04:57 pm Kevin Wolf

qcow2: Ignore reserved bits in L1/L2 entries

This changes the still existing places that assume that the only flags
are QCOW_OFLAG_COPIED and QCOW_OFLAG_COMPRESSED to properly mask out
reserved bits.

It does not convert bdrv_check yet.

Signed-off-by: Kevin Wolf <>

c7a4c37a 04/20/2012 04:57 pm Kevin Wolf

qcow2: Refactor qcow2_free_any_clusters

Zero clusters will add another cluster type. Refactor the open-coded
cluster type detection into a switch of QCOW2_CLUSTER_* options so that
the detection is in a single place. This makes it easier to add new
cluster types....

143550a8 04/20/2012 04:57 pm Kevin Wolf

qcow2: Simplify count_cow_clusters

count_cow_clusters() tries to reuse existing functions, and all it
achieves is to make things much more complicated than they really are:
Everything needs COW, unless it's a normal cluster with refcount 1.

This patch implements the obvious way of doing this, and by using...

View revisions

Also available in: Atom