Signed-off-by: Benoit Canet <ben...@irqsave.net>
---
 block/qcow2.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/block/qcow2.c b/block/qcow2.c
index 0154d50..f66e67d 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -1606,6 +1606,7 @@ static int qcow2_create(const char *filename, 
QEMUOptionParameter *options)
                 return hash_algo;
             }
             dedup = true;
+            flags |= BLOCK_FLAG_LAZY_REFCOUNTS;
         }
         options++;
     }
-- 
1.7.10.4


Reply via email to