| Submitter | Benoît Canet |
|---|---|
| Date | Feb. 6, 2013, 12:32 p.m. |
| Message ID | <1360153946-9617-2-git-send-email-benoit@irqsave.net> |
| Download | mbox | patch |
| Permalink | /patch/218752/ |
| State | New |
| Headers | show |
Comments
Patch
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; };