qcow2: Allow different cluster sizes
authorKevin Wolf <kwolf@redhat.com>
Tue, 19 May 2009 15:57:21 +0000 (17:57 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 22 May 2009 15:50:32 +0000 (10:50 -0500)
commit73c632edc4e28d0a8cae3b34abf7ae46fa33bf1e
tree750b1c703a920c50ef95c2c8ea62a3315daa26e5
parentefa84d43cc9f4e21d564e7415778166735890bc1
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>
block/qcow2.c
block_int.h