From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbUvK-0008Dx-E8 for qemu-devel@nongnu.org; Mon, 14 Sep 2015 10:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbUvE-0006bK-RI for qemu-devel@nongnu.org; Mon, 14 Sep 2015 10:40:02 -0400 From: Max Reitz Date: Mon, 14 Sep 2015 16:39:46 +0200 Message-Id: <1442241588-25672-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/2] qcow2: Make size_to_clusters() return uint64_t List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: Kevin Wolf , qemu-devel@nongnu.org, Max Reitz 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 -- 2.5.2