add qemu-img convert -n option (skip target volume creation)
commitb2e10493c71160d88bb823cae9a92e806a79b9d6
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 2 Sep 2013 18:07:24 +0000 (2 19:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Sep 2013 13:25:07 +0000 (6 15:25 +0200)
treee3baaffa48931c9106c5474553e95afc4d305f20
parentb3f3a30f387f34308b3e4d910a2824e69c34182f
add qemu-img convert -n option (skip target volume creation)

Add a -n option to skip volume creation on qemu-img convert.
This is useful for targets such as rbd / ceph, where the
target volume may already exist; we cannot always rely on
qemu-img convert to create the image, as dependent on the
output format, there may be parameters which are not possible
to specify through the qemu-img convert command line.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi
tests/qemu-iotests/063 [new file with mode: 0755]
tests/qemu-iotests/063.out [new file with mode: 0644]
tests/qemu-iotests/group