qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC V2 1/7] block: Add BlockDriver function prototype to p


From: Benoît Canet
Subject: [Qemu-devel] [RFC V2 1/7] block: Add BlockDriver function prototype to pause and resume deduplication.
Date: Wed, 6 Feb 2013 13:32:20 +0100

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

[Prev in Thread] Current Thread [Next in Thread]