]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-img.c
qemu-img convert: Deprecate using -n and -o together
authorKevin Wolf <kwolf@redhat.com>
Fri, 9 Aug 2019 09:09:21 +0000 (11:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 16 Aug 2019 08:25:16 +0000 (10:25 +0200)
commitffd8e8ffd5410ecea17c62785bf445b7ecddd8d6
tree3670000e635382419fbc7bee20a13c1e71a53d50
parentcf3129323f900ef5ddbccbe86e4fa801e88c566e
qemu-img convert: Deprecate using -n and -o together

bdrv_create options specified with -o have no effect when skipping image
creation with -n, so this doesn't make sense. Warn against the misuse
and deprecate the combination so we can make it a hard error later.

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