aboutsummaryrefslogtreecommitdiff
path: root/block/blkdebug.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2019-05-07 22:35:03 +0200
committerMax Reitz <mreitz@redhat.com>2019-06-14 14:16:57 +0200
commit8eaac025fb43b16a38671e6b80e7059cd8af3403 (patch)
treef437fa3bf14089b130284fa9f305a50632283c9c /block/blkdebug.c
parent3d96cb91d7812c27142e0c722482bfd35661e50c (diff)
qemu-img: Add salvaging mode to convert
This adds a salvaging mode (--salvage) to qemu-img convert which ignores read errors and treats the respective areas as containing only zeroes. This can be used for instance to at least partially recover the data from terminally corrupted qcow2 images. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190507203508.18026-3-mreitz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions