summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2015-02-18 17:40:49 -0500
committerKevin Wolf <kwolf@redhat.com>2015-03-10 14:02:21 +0100
commit06d05fa738915ab82577289a0b81b3e600c4e749 (patch)
tree23436e6bf7bf8e9feb11afd7eedd2ab9b19ab404 /include
parent5262caa75468adce44b57ed9c076b2f22bd9315f (diff)
downloadhqemu-06d05fa738915ab82577289a0b81b3e600c4e749.zip
hqemu-06d05fa738915ab82577289a0b81b3e600c4e749.tar.gz
qcow2: Allow creation with refcount order != 4
Add a creation option to qcow2 for setting the refcount order of images to be created, and respect that option's value. This breaks some test outputs, fix them. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 9f7b5bd..b88633d 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -57,6 +57,7 @@
#define BLOCK_OPT_REDUNDANCY "redundancy"
#define BLOCK_OPT_NOCOW "nocow"
#define BLOCK_OPT_OBJECT_SIZE "object_size"
+#define BLOCK_OPT_REFCOUNT_BITS "refcount_bits"
#define BLOCK_PROBE_BUF_SIZE 512
OpenPOWER on IntegriCloud