qapi: Add corrupt field to ImageInfoSpecificQCow2
commit9009b1963c5ed9bb826c8116e8b1d3aa94d47f85
authorMax Reitz <mreitz@redhat.com>
Tue, 30 Sep 2014 19:31:28 +0000 (30 21:31 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Sat, 4 Oct 2014 18:18:17 +0000 (4 19:18 +0100)
treef3b75384fbff376a1fe1525c4449a065cb06ece9
parent1b53eab270ee08e61e21c3fcc77e34c4b5484c30
qapi: Add corrupt field to ImageInfoSpecificQCow2

Just like lazy-refcounts, this field will be present iff the qcow2
compat level is 1.1 (or probably any future revision).

As expected, this breaks some tests due to the new field present in
qemu-img info output; so fix their output accordingly.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1412105489-7681-3-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2.c
qapi/block-core.json
tests/qemu-iotests/065
tests/qemu-iotests/067.out
tests/qemu-iotests/082.out
tests/qemu-iotests/089.out