On 13.11.20 09:26, Markus Armbruster wrote:
block-commit defaults @base-node to the deepest backing image. When
there is none, it fails with "Base 'NULL' not found". Improve to
"There is no backing image".
block-commit and block-stream reject a @base argument that doesn't
resolve with "Base 'BASE' not found". Commit 6b33f3ae8b "qemu-img:
Improve commit invalid base message" improved this message in
qemu-img. Improve it here, too: "Can't find '%s' in the backing
chain".
QERR_BASE_NOT_FOUND is now unused. Drop.
Cc: Kevin Wolf <kw...@redhat.com>
Cc: Max Reitz <mre...@redhat.com>
Cc: qemu-bl...@nongnu.org
Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
include/qapi/qmp/qerror.h | 2 --
blockdev.c | 15 +++++++++------
tests/qemu-iotests/040 | 12 ++++++------
3 files changed, 15 insertions(+), 14 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>