summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-05-19 17:57:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-22 10:50:32 -0500
commit73c632edc4e28d0a8cae3b34abf7ae46fa33bf1e (patch)
tree750b1c703a920c50ef95c2c8ea62a3315daa26e5 /block_int.h
parentConvert qemu-img convert to new bdrv_create (diff)
downloadqemu-kvm-73c632edc4e28d0a8cae3b34abf7ae46fa33bf1e.tar.gz
qemu-kvm-73c632edc4e28d0a8cae3b34abf7ae46fa33bf1e.tar.bz2
qemu-kvm-73c632edc4e28d0a8cae3b34abf7ae46fa33bf1e.zip
qcow2: Allow different cluster sizes
Add an option to specify the cluster size of a newly created qcow2 image. Default is 4k which is the same value that was hard-coded before. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.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 782de6c62..0820ed1d5 100644
--- a/block_int.h
+++ b/block_int.h
@@ -36,6 +36,7 @@
#define BLOCK_OPT_COMPAT6 "compat6"
#define BLOCK_OPT_BACKING_FILE "backing_file"
#define BLOCK_OPT_BACKING_FMT "backing_fmt"
+#define BLOCK_OPT_CLUSTER_SIZE "cluster_size"
typedef struct AIOPool {
void (*cancel)(BlockDriverAIOCB *acb);