--- include/block/block_int.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/block/block_int.h b/include/block/block_int.h index 62c72fc..69fbe8a 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -205,6 +205,9 @@ struct BlockDriver { */ int (*bdrv_has_zero_init)(BlockDriverState *bs); + /* to pause and resume deduplication (mainly qcow2) */ + void (*bdrv_dedup_control)(BlockDriverState *bs, const bool enable); + QLIST_ENTRY(BlockDriver) list; }; -- 1.7.10.4
- [Qemu-devel] [RFC V2 0/7] QCOW2 asynchronous deduplication Benoît Canet
- [Qemu-devel] [RFC V2 6/7] qcow2: Make dedup status pers... Benoît Canet
- [Qemu-devel] [RFC V2 2/7] qcow2: Add code to deduplicat... Benoît Canet
- [Qemu-devel] [RFC V2 5/7] qcow2: Add qcow2_dedup_contro... Benoît Canet
- [Qemu-devel] [RFC V2 7/7] qmp: Add block-dedup-control. Benoît Canet
- [Qemu-devel] [RFC V2 4/7] block: Add bdrv_dedup_control... Benoît Canet
- [Qemu-devel] [RFC V2 3/7] block: Add bdrv_has_dedup. Benoît Canet
- [Qemu-devel] [RFC V2 1/7] block: Add BlockDriver functi... Benoît Canet