qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] qcow2: Make size_to_clusters() return uint64_t
@ 2015-09-09 16:09 Max Reitz
  2015-09-09 16:09 ` [Qemu-devel] [PATCH v2 1/2] " Max Reitz
  2015-09-09 16:09 ` [Qemu-devel] [PATCH v2 2/2] iotests: Add test for checking large image files Max Reitz
  0 siblings, 2 replies; 4+ messages in thread
From: Max Reitz @ 2015-09-09 16:09 UTC (permalink / raw)
  To: qemu-block; +Cc: Kevin Wolf, qemu-devel, Max Reitz

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-09 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 16:09 [Qemu-devel] [PATCH v2 0/2] qcow2: Make size_to_clusters() return uint64_t Max Reitz
2015-09-09 16:09 ` [Qemu-devel] [PATCH v2 1/2] " Max Reitz
2015-09-09 17:12   ` Kevin Wolf
2015-09-09 16:09 ` [Qemu-devel] [PATCH v2 2/2] iotests: Add test for checking large image files Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).