diff options
author | Max Reitz <mreitz@redhat.com> | 2014-10-22 14:09:43 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-10-23 15:34:01 +0200 |
commit | 234764eed1aab56a657a161e9a0c65730442e6f8 (patch) | |
tree | 4a1c36d63746748b682d17697bc9a3cbfca29b4d /qmp.c | |
parent | d26e6ec052b8768ab45654dbf35d5213818a2cb8 (diff) | |
download | hqemu-234764eed1aab56a657a161e9a0c65730442e6f8.zip hqemu-234764eed1aab56a657a161e9a0c65730442e6f8.tar.gz |
iotests: Add test for potentially damaging repairs
There are certain cases where repairing a qcow2 image might actually
damage it further (or rather, where repairing it has in fact damaged it
further with the old qcow2 check implementation). This should not
happen, so add a test for these cases.
Furthermore, the repair function now repairs refblocks beyond the image
end by resizing the image accordingly. Add several tests for this as
well.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qmp.c')
0 files changed, 0 insertions, 0 deletions