qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 19/19] [RFC] Add feature table entries for new flags


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH 19/19] [RFC] Add feature table entries for new flags
Date: Thu, 12 Apr 2012 17:01:20 +0200

Signed-off-by: Kevin Wolf <address@hidden>
---
 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

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