Re: [PATCH V4] block/vhdx: add check for truncated image files

2019-10-10 Thread Kevin Wolf
Am 10.09.2019 um 17:26 hat Peter Lieven geschrieben: > qemu is currently not able to detect truncated vhdx image files. > Add a basic check if all allocated blocks are reachable at open and > report all errors during bdrv_co_check. > > Signed-off-by: Peter Lieven Thanks, applied to the block

[RESEND PATCH V4] block/vhdx: add check for truncated image files

2019-10-10 Thread Peter Lieven
qemu is currently not able to detect truncated vhdx image files. Add a basic check if all allocated blocks are reachable at open and report all errors during bdrv_co_check. Signed-off-by: Peter Lieven --- V4: - allow partial last blocks [Kevin] - report offsets in error messages [Kevin]

[Qemu-block] [PATCH V4] block/vhdx: add check for truncated image files

2019-09-10 Thread Peter Lieven
qemu is currently not able to detect truncated vhdx image files. Add a basic check if all allocated blocks are reachable at open and report all errors during bdrv_co_check. Signed-off-by: Peter Lieven --- V4: - allow partial last blocks [Kevin] - report offsets in error messages [Kevin]