OSDN Git Service

qemu-img: Require -F with -b backing image
authorEric Blake <eblake@redhat.com>
Mon, 3 May 2021 21:36:00 +0000 (14:36 -0700)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Jul 2021 11:18:32 +0000 (13:18 +0200)
commit497a30dbb065937d67f6c43af6dd78492e1d6f6d
tree2a6244c2bd5ddf0f69f8427724713eeac1c1baba
parent5a385bf5c5cb3069fab17c014cf4b4f629509f1e
qemu-img: Require -F with -b backing image

Back in commit d9f059aa6c (qemu-img: Deprecate use of -b without -F),
we deprecated the ability to create a file with a backing image that
requires qemu to perform format probing.  Qemu can still probe older
files for backwards compatibility, but it is time to finish off the
ability to create such images, due to the potential security risk they
present.  Update a couple of iotests affected by the change.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210503213600.569128-3-eblake@redhat.com>
Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
docs/system/deprecated.rst
docs/system/removed-features.rst
qemu-img.c
tests/qemu-iotests/040
tests/qemu-iotests/041
tests/qemu-iotests/114
tests/qemu-iotests/114.out
tests/qemu-iotests/301
tests/qemu-iotests/301.out