qcow2: Prohibit backing file changes in 'qemu-img amend'
commit5a385bf5c5cb3069fab17c014cf4b4f629509f1e
authorEric Blake <eblake@redhat.com>
Mon, 3 May 2021 21:35:59 +0000 (3 14:35 -0700)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Jul 2021 10:26:05 +0000 (9 12:26 +0200)
tree048c44a2cd42c4c0b3ac18a80a5be54620d5011e
parent2842ff2d81ddd86b1d0dd3b98c46b72bfa5cb4cb
qcow2: Prohibit backing file changes in 'qemu-img amend'

This was deprecated back in bc5ee6da7 (qcow2: Deprecate use of
qemu-img amend to change backing file), and no one in the meantime has
given any reasons why it should be supported.  Time to make change
attempts a hard error (but for convenience, specifying the _same_
backing chain is not forbidden).  Update a couple of iotests to match.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210503213600.569128-2-eblake@redhat.com>
Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
docs/system/deprecated.rst
docs/system/removed-features.rst
tests/qemu-iotests/061
tests/qemu-iotests/061.out
tests/qemu-iotests/082.out