summaryrefslogtreecommitdiffstats
path: root/include/qemu/main-loop.h
diff options
context:
space:
mode:
authorMax Reitz2015-09-14 16:39:47 +0200
committerKevin Wolf2015-09-14 16:51:37 +0200
commitb6d36def6d9e9fd187327182d0abafc9b7085d8f (patch)
tree475f42def1a1636491174996483a98ba323276b2 /include/qemu/main-loop.h
parentqemu-iotests: More qcow2 reopen tests (diff)
downloadqemu-b6d36def6d9e9fd187327182d0abafc9b7085d8f.tar.gz
qemu-b6d36def6d9e9fd187327182d0abafc9b7085d8f.tar.xz
qemu-b6d36def6d9e9fd187327182d0abafc9b7085d8f.zip
qcow2: Make size_to_clusters() return uint64_t
Sadly, some images may have more clusters than what can be represented using a plain int. We should be prepared for that case (in qcow2_check_refcounts() we actually were trying to catch that case, but since size_to_clusters() truncated the returned value, that check never did anything useful). Cc: qemu-stable <qemu-stable@nongnu.org> Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qemu/main-loop.h')
0 files changed, 0 insertions, 0 deletions