Skip to content

RFC qcow2: Basic version 3 support

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest16 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16Specification for qcow2 version 3docs/specs/qcow2.txt+107 -223 replies
2/16qcow2: Ignore reserved bits in get_cluster_offsetblock/qcow2-cluster.c block/qcow2.c block/qcow2.h+60 -190 replies
3/16qcow2: Ignore reserved bits in count_contiguous_clusters()block/qcow2-cluster.c+28 -100 replies
4/16qcow2: Fail write_compressed when overwriting datablock/qcow2-cluster.c+3 -40 replies
5/16qcow2: Ignore reserved bits in L1/L2 entriesblock/qcow2-cluster.c block/qcow2-refcount.c+19 -190 replies
6/16qcow2: Refactor qcow2_free_any_clustersblock/qcow2-refcount.c+22 -190 replies
7/16qcow2: Simplify count_cow_clustersblock/qcow2-cluster.c+15 -180 replies
8/16qcow2: Ignore reserved bits in refcount table entriesblock/qcow2-refcount.c block/qcow2.h+3 -10 replies
9/16qcow2: Ignore reserved bits in check_refcountsblock/qcow2-refcount.c+54 -440 replies
10/16qcow2: Version 3 imagesblock/qcow2.c block/qcow2.h block_int.h+149 -150 replies
11/16qcow2: Support reading zero clustersblock/qcow2-cluster.c block/qcow2-refcount.c block/qcow2.c +1 more+33 -40 replies
12/16qcow2: Support for feature table header extensionblock/qcow2.c block/qcow2.h+77 -90 replies
13/16qemu-iotests: add a simple test for write_zeroestests/qemu-iotests/031 tests/qemu-iotests/031.out tests/qemu-iotests/group+103 -00 replies
14/16qemu-iotests: Test COW with zero clusterstests/qemu-iotests/031 tests/qemu-iotests/031.out+146 -20 replies
15/16qcow2: Zero write supportblock.c block/qcow2-cluster.c block/qcow2.c +1 more+105 -30 replies
16/16qemu-iotests: use qcow3tests/qemu-iotests/common.rc+20 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 00/16] qcow2: Basic version 3 support

While this is not quite ready to be merged, I think the important stuff is done and works (it survives qemu-iotests at least) and probably now is the right time to start getting feedback. I'm going to get this merged before the 1.1 soft freeze.

What's left is probably some cleanup, adding more new test cases and obviously fixing whatever bugs come up.

Kevin Wolf (15):
Specification for qcow2 version 3
qcow2: Ignore reserved bits in get_cluster_offset
qcow2: Ignore reserved bits in count_contiguous_clusters()
qcow2: Fail write_compressed when overwriting data
qcow2: Ignore reserved bits in L1/L2 entries
qcow2: Refactor qcow2_free_any_clusters
qcow2: Simplify count_cow_clusters
qcow2: Ignore reserved bits in refcount table entries
qcow2: Ignore reserved bits in check_refcounts
qcow2: Version 3 images
qcow2: Support reading zero clusters
qcow2: Support for feature table header extension
qemu-iotests: Test COW with zero clusters
qcow2: Zero write support
qemu-iotests: use qcow3

Paolo Bonzini (1):
qemu-iotests: add a simple test for write_zeroes

 block.c                      |   14 ++-
 block/qcow2-cluster.c        |  224 ++++++++++++++++++++++++++----------
 block/qcow2-refcount.c       |  156 ++++++++++++++-----------
 block/qcow2.c                |  260 ++++++++++++++++++++++++++++++++++++++----
 block/qcow2.h                |   58 +++++++++-
 block_int.h                  |    1 +
 docs/specs/qcow2.txt         |  129 +++++++++++++++++----
 tests/qemu-iotests/031       |  137 ++++++++++++++++++++++
 tests/qemu-iotests/031.out   |  109 ++++++++++++++++++
 tests/qemu-iotests/common.rc |   21 ++++-
 tests/qemu-iotests/group     |    1 +
 11 files changed, 932 insertions(+), 178 deletions(-)
 create mode 100755 tests/qemu-iotests/031
 create mode 100644 tests/qemu-iotests/031.out
Signature · 1 line
1.7.6.5