---
 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


Reply via email to