This series adds a field corresponding to the "corrupt" flag to ImageInfoSpecificQCow2. This breaks several qemu-iotests which directly invoke qemu-img info instead of using _img_info. Patch 1 tries to minimize the necessary output fixes in patch 2 by replacing several occurrences of direct qemu-img info calls by _img_info where appropriate.
Max Reitz (3): iotests: Use _img_info qapi: Add corrupt field to ImageInfoSpecificQCow2 iotests: qemu-img info output for corrupt image block/qcow2.c | 3 +++ qapi/block-core.json | 6 ++++- tests/qemu-iotests/060 | 3 +++ tests/qemu-iotests/060.out | 9 +++++++ tests/qemu-iotests/065 | 12 ++++----- tests/qemu-iotests/067.out | 10 ++++---- tests/qemu-iotests/070 | 2 +- tests/qemu-iotests/070.out | 5 ++-- tests/qemu-iotests/082 | 12 ++++----- tests/qemu-iotests/082.out | 62 ++++++++++++++-------------------------------- tests/qemu-iotests/089.out | 2 ++ tests/qemu-iotests/095 | 4 +-- tests/qemu-iotests/095.out | 16 +++--------- 13 files changed, 66 insertions(+), 80 deletions(-) -- 2.1.1