]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-img: introduce --target-image-opts for 'convert' command
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 May 2017 16:47:11 +0000 (17:47 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 29 May 2017 13:39:54 +0000 (15:39 +0200)
commit305b4c60f200ee8e6267ac75f3f5b5d09fda1079
tree961e2c2134fab78d1c52a4f145c55b99e8dadcea
parentea204ddac7340bfda60cb0b388dbc3ffd77e8be0
qemu-img: introduce --target-image-opts for 'convert' command

The '--image-opts' flag indicates whether the source filename
includes options. The target filename has to remain in the
plain filename format though, since it needs to be passed to
bdrv_create().  When using --skip-create though, it would be
possible to use image-opts syntax. This adds --target-image-opts
to indicate that the target filename includes options. Currently
this mandates use of the --skip-create flag too.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170515164712.6643-4-berrange@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img-cmds.hx
qemu-img.c
qemu-img.texi