aboutsummaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2011-12-15 12:20:58 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-20 15:57:29 +0200
commit6744cbab8cd63b7ce72b3eee4f0055007acf0798 (patch)
treea942ed42c8a922e7b5ab16470042cd0417c194af /block_int.h
parentafdf0abe779f4b11712eb306ab2d4299820457b8 (diff)
downloadqemu-6744cbab8cd63b7ce72b3eee4f0055007acf0798.zip
qemu-6744cbab8cd63b7ce72b3eee4f0055007acf0798.tar.gz
qemu-6744cbab8cd63b7ce72b3eee4f0055007acf0798.tar.bz2
qcow2: Version 3 images
This adds the basic infrastructure to qcow2 to handle version 3 images. It includes code to create v3 images, allow header updates for v3 images and checks feature bits. It still misses support for zero clusters, so this is not a fully compliant implementation of v3 yet. The default for creating new images stays at v2 for now. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h
index 0e5a032..0acb49f 100644
--- a/block_int.h
+++ b/block_int.h
@@ -50,6 +50,7 @@
#define BLOCK_OPT_TABLE_SIZE "table_size"
#define BLOCK_OPT_PREALLOC "preallocation"
#define BLOCK_OPT_SUBFMT "subformat"
+#define BLOCK_OPT_COMPAT_LEVEL "compat"
typedef struct BdrvTrackedRequest BdrvTrackedRequest;