qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2] qcow2: Make size_to_clusters() return uint64


From: Max Reitz
Subject: [Qemu-devel] [PATCH v2 0/2] qcow2: Make size_to_clusters() return uint64_t
Date: Wed, 9 Sep 2015 18:09:45 +0200

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


v2:
- Patch 1:
  - int64_t -> uint64_t [Eric]
  - Several fixes in places calling size_to_clusters() (and
    transitively, too) [Kevin]
- Patch 2:
  - s/occuring/occurring/ [Eric]


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     | 10 +++++--
 block/qcow2.h              |  6 ++--
 tests/qemu-iotests/138     | 73 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/138.out |  9 ++++++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 112 insertions(+), 17 deletions(-)
 create mode 100755 tests/qemu-iotests/138
 create mode 100644 tests/qemu-iotests/138.out

-- 
2.5.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]