OSDN Git Service

qcow2: Use 64 bits for refcount values
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Feb 2015 20:28:48 +0000 (15:28 -0500)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:21 +0000 (14:02 +0100)
commit0e06528e980b8ac7695a219f8405d3cdc52a1381
treefa20bdce42cbd7327792f009dff30cf721978694
parent2aabe7c7a16cee6b1b54592fa05b5f9c23c89bc0
qcow2: Use 64 bits for refcount values

Refcounts may have a width of up to 64 bits, so qemu should use the same
width to represent refcount values internally.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c
block/qcow2.h