On 08.09.2015 22:09, Max Reitz wrote:
> 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-sta...@nongnu.org>

> Signed-off-by: Max Reitz <mre...@redhat.com>
> ---
>  block/qcow2-cluster.c | 20 +++++++++++---------
>  block/qcow2.h         |  2 +-
>  2 files changed, 12 insertions(+), 10 deletions(-)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to