Re: [Qemu-devel] [PATCH 2/2] qemu-img: change opening method for the output in dd

2016-10-10 Thread Max Reitz
On 07.10.2016 17:36, Reda Sallahi wrote: > The subcommand dd was creating an output image regardless of whether there > was one already created. With this patch we try to check first if the output > image exists and resize it if necessary. > > Signed-off-by: Reda Sallahi > --- > qemu-img.c

[Qemu-devel] [PATCH 2/2] qemu-img: change opening method for the output in dd

2016-10-07 Thread Reda Sallahi
The subcommand dd was creating an output image regardless of whether there was one already created. With this patch we try to check first if the output image exists and resize it if necessary. Signed-off-by: Reda Sallahi --- qemu-img.c | 124 ++