]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-img.c
qemu-img: Convert by cluster size if target is compressed
authorFam Zheng <famz@redhat.com>
Tue, 6 May 2014 13:08:43 +0000 (21:08 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 9 May 2014 11:32:16 +0000 (13:32 +0200)
commit85f49cad879adfb5c3cbdc47ca3c3b50eb8f40bc
tree1600d9060ee2ffebfa8b95af4f4338aaf1896fc1
parentec209aca8340be1c81afe13fbe0ba135e5d3b9f4
qemu-img: Convert by cluster size if target is compressed

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 <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/block/block.h
qemu-img.c