Signed-off-by: Peter Lieven <p...@kamp.de>
---
 include/block/block.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/block/block.h b/include/block/block.h
index 297ec1e..aceb780 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -18,6 +18,11 @@ typedef struct BlockDriverInfo {
     /* offset at which the VM state can be saved (0 if not possible) */
     int64_t vm_state_offset;
     bool is_dirty;
+    /* do discarded blocks read back as zeroes? */
+    bool discard_zeroes;
+    /* maximum number of sectors that can be discarded at once */
+    int max_unmap;
+
 } BlockDriverInfo;
 
 typedef struct BlockFragInfo {
-- 
1.7.9.5


Reply via email to