[Top][All Lists]
[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
- Re: [Qemu-devel] [PATCH 06/19] qcow2: Ignore reserved bits in L1/L2 entries, (continued)
- [Qemu-devel] [PATCH 11/19] qcow2: Version 3 images, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 08/19] qcow2: Simplify count_cow_clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 12/19] qcow2: Support reading zero clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 14/19] qemu-iotests: add a simple test for write_zeroes, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 15/19] qemu-iotests: Test backing file COW with zero clusters, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 17/19] qemu-iotests: Add -o and make v3 the default for qcow2, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 13/19] qcow2: Support for feature table header extension, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 17.5/19] qemu-iotests: Fix test 031 for qcow2 v3 support, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 16/19] qcow2: Zero write support, Kevin Wolf, 2012/04/12
- [Qemu-devel] [PATCH 19/19] [RFC] Add feature table entries for new flags,
Kevin Wolf <=