Re: [Qemu-devel] [PATCH v3 1/4] qemu-img: Convert by cluster size if target is compressed

2014-05-06 Thread Stefan Hajnoczi
On Fri, Apr 25, 2014 at 04:00:49PM +0800, Fam Zheng wrote: diff --git a/include/block/block.h b/include/block/block.h index b3230a2..8a1cb83 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -34,6 +34,10 @@ typedef struct BlockDriverInfo { * opened with BDRV_O_UNMAP

[Qemu-devel] [PATCH v3 1/4] qemu-img: Convert by cluster size if target is compressed

2014-04-25 Thread Fam Zheng
If target block driver forces compression, qemu-img convert needs to write by cluster size as well as -c option. Particularly, this applies for converting to VMDK streamOptimized format. Signed-off-by: Fam Zheng f...@redhat.com --- include/block/block.h | 4 qemu-img.c| 1 + 2