qemu-img: Allow cache mode specification for amend
commitbd39e6ed0b88a1473c652c97e731a156cccf16e2
authorMax Reitz <mreitz@redhat.com>
Tue, 22 Jul 2014 20:58:43 +0000 (22 22:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Aug 2014 12:54:48 +0000 (22 14:54 +0200)
tree68cd59ae096c360b62b9f55a6062979fb15ac7de
parent40055951a7afbfc037c6c7351d72a5c5d83ed99b
qemu-img: Allow cache mode specification for amend

qemu-img amend may extensively modify the target image, depending on the
options to be amended (e.g. conversion to qcow2 compat level 0.10 from
1.1 for an image with many unallocated zero clusters). Therefore it
makes sense to allow the user to specify the cache mode to be used.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi