]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: add --shrink flag for resize
authorPavel Butsykin <pbutsykin@virtuozzo.com>
Mon, 18 Sep 2017 12:42:27 +0000 (15:42 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 26 Sep 2017 13:00:32 +0000 (15:00 +0200)
commit4ffca8904a350460cdaa6304ea8c9b9c693d2d91
tree3d7c0d764d18334222c11e84dc8a081361ada1b6
parent69ff158b677df0862b2f2639740c8fda5eb91599
qemu-img: add --shrink flag for resize

The flag is additional precaution against data loss. Perhaps in the future the
operation shrink without this flag will be blocked for all formats, but for now
we need to maintain compatibility with raw.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20170918124230.8152-2-pbutsykin@virtuozzo.com
[mreitz: Added a missing space to a warning]
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
tests/qemu-iotests/102
tests/qemu-iotests/106