Re: [Qemu-devel] [PATCH v2 2/6] qemu-img: Add salvaging mode to convert

2019-04-12 Thread Max Reitz
On 11.04.19 16:33, Vladimir Sementsov-Ogievskiy wrote: > 10.04.2019 23:57, Max Reitz wrote: >> 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 re

Re: [Qemu-devel] [PATCH v2 2/6] qemu-img: Add salvaging mode to convert

2019-04-11 Thread Vladimir Sementsov-Ogievskiy
10.04.2019 23:57, Max Reitz wrote: > 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. >

[Qemu-devel] [PATCH v2 2/6] qemu-img: Add salvaging mode to convert

2019-04-10 Thread Max Reitz
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 --- qemu-img.c