Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
 block/qcow2.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/block/qcow2.c b/block/qcow2.c
index 1b29572..6f8228f 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -949,7 +949,15 @@ int qcow2_update_header(BlockDriverState *bs)
 
     /* Feature table */
     Qcow2Feature features[] = {
-        /* no feature defined yet */
+        {
+            .type   = QCOW2_FEAT_TYPE_INCOMPATIBLE,
+            .bit    = 0,
+            .name   = "Reference count recovery",
+        }, {
+            .type   = QCOW2_FEAT_TYPE_INCOMPATIBLE,
+            .bit    = 1,
+            .name   = "Subclusters",
+        }
     };
 
     ret = header_ext_add(buf, QCOW2_EXT_MAGIC_FEATURE_TABLE,
-- 
1.7.6.5


Reply via email to