Skip to content

qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocs

Alberto Garcia qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v11 patch 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocsblock/qcow2-cluster.c tests/qemu-iotests/305 tests/qemu-iotests/305.out +1 more+91 -30 replies
2/3qcow2: Don't check nb_clusters when removing l2meta from the listblock/qcow2.c+1 -30 replies
3/3qcow2: Rewrite the documentation of qcow2_alloc_cluster_offset()block/qcow2-cluster.c+14 -103 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocs

Hi,

here are the changes from v1:

- Split changes into three different patches.
- Rewrite the documentation of qcow2_alloc_cluster_offset() [Max]
- Use peek_file_be in the test case to read the offset of the refcount table [Max].
- Extend the list of unsupported options for the test case [Max].

Berto

Alberto Garcia (3):
qcow2: Fix removal of list members from BDRVQcow2State.cluster_allocs
qcow2: Don't check nb_clusters when removing l2meta from the list
qcow2: Rewrite the documentation of qcow2_alloc_cluster_offset()

 block/qcow2-cluster.c      | 27 +++++++-------
 block/qcow2.c              |  4 +--
 tests/qemu-iotests/305     | 74 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/305.out | 16 +++++++++
 tests/qemu-iotests/group   |  1 +
 5 files changed, 106 insertions(+), 16 deletions(-)
 create mode 100755 tests/qemu-iotests/305
 create mode 100644 tests/qemu-iotests/305.out
Signature · 1 line
2.20.1