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

2019-09-02 Thread Kevin Wolf
Am 02.09.2019 um 16:17 hat Peter Lieven geschrieben: > Am 02.09.19 um 15:46 schrieb Kevin Wolf: > > Am 02.09.2019 um 15:15 hat Peter Lieven geschrieben: > > > Am 02.09.19 um 15:07 schrieb Kevin Wolf: > > > > Am 29.08.2019 um 15:36 hat Peter Lieven geschrieben: > > > > > qemu is currently not able t

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

2019-09-02 Thread Peter Lieven
Am 02.09.19 um 15:46 schrieb Kevin Wolf: Am 02.09.2019 um 15:15 hat Peter Lieven geschrieben: Am 02.09.19 um 15:07 schrieb Kevin Wolf: Am 29.08.2019 um 15:36 hat Peter Lieven geschrieben: qemu is currently not able to detect truncated vhdx image files. Add a basic check if all allocated blocks

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

2019-09-02 Thread Kevin Wolf
Am 02.09.2019 um 15:15 hat Peter Lieven geschrieben: > Am 02.09.19 um 15:07 schrieb Kevin Wolf: > > Am 29.08.2019 um 15:36 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 to vhdx_co_ch

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

2019-09-02 Thread Peter Lieven
Am 02.09.19 um 15:07 schrieb Kevin Wolf: Am 29.08.2019 um 15:36 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 to vhdx_co_check. Signed-off-by: Jan-Hendrik Frintrop Signed-off-by: Peter Liev

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

2019-09-02 Thread Kevin Wolf
Am 29.08.2019 um 15:36 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 to vhdx_co_check. > > Signed-off-by: Jan-Hendrik Frintrop > Signed-off-by: Peter Lieven > --- > block/vhdx.c | 19 +++

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

2019-08-29 Thread Peter Lieven
qemu is currently not able to detect truncated vhdx image files. Add a basic check if all allocated blocks are reachable to vhdx_co_check. Signed-off-by: Jan-Hendrik Frintrop Signed-off-by: Peter Lieven --- block/vhdx.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/bl