Skip to content

qcow2: Make size_to_clusters() return uint64_t

Max Reitz qemu-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 1 replyApplied
  3. v12 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Patch 1: Fix build for sizeof(void *) < 8 machines [Peter]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qcow2: Make size_to_clusters() return uint64_tblock/qcow2-cluster.c block/qcow2-refcount.c block/qcow2.h+30 -180 replies
2/2iotests: Add test for checking large image filestests/qemu-iotests/138 tests/qemu-iotests/138.out tests/qemu-iotests/group+83 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEric Blake
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] qcow2: Make size_to_clusters() return uint64_t

Some callers actually expected that function to return uint64_t. As it turns out, it doesn't. Fix that.

v3:
- Patch 1: Fix build for sizeof(void *) < 8 machines [Peter]

git-backport-diff against v2:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/2:[0002] [FC] 'qcow2: Make size_to_clusters() return uint64_t' 002/2:[----] [--] 'iotests: Add test for checking large image files'

Max Reitz (2):
qcow2: Make size_to_clusters() return uint64_t
iotests: Add test for checking large image files

 block/qcow2-cluster.c      | 30 ++++++++++++-------
 block/qcow2-refcount.c     | 12 +++++---
 block/qcow2.h              |  6 ++--
 tests/qemu-iotests/138     | 73 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/138.out |  9 ++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 113 insertions(+), 18 deletions(-)
 create mode 100755 tests/qemu-iotests/138
 create mode 100644 tests/qemu-iotests/138.out
Signature · 1 line
2.5.2