Re: [Qemu-devel] [RFC V6 20/33] qcow2: Add a deduplication boolean to update_refcount.

2013-02-07 Thread Stefan Hajnoczi
On Wed, Feb 06, 2013 at 01:31:53PM +0100, Benoît Canet wrote: > @@ -427,7 +427,7 @@ fail_block: > > /* XXX: cache several refcount block clusters ? */ > int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs, > -int64_t offset, int64_t length, int addend) > +int64_t offset, in

[Qemu-devel] [RFC V6 20/33] qcow2: Add a deduplication boolean to update_refcount.

2013-02-06 Thread Benoît Canet
This is needed for next commit which handle the deduplication refcount overflow case. Signed-off-by: Benoit Canet --- block/qcow2-dedup.c|2 +- block/qcow2-refcount.c | 20 +++- block/qcow2.h |2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff -