On Fri, May 26, 2017 at 06:55:06PM +0200, Max Reitz wrote: > Add a --preallocation command line option to qemu-img resize which can > be used to set the PreallocMode parameter of blk_truncate(). > > Signed-off-by: Max Reitz > --- > qemu-img.c | 33 ++++++++++++++++++++++++++++++--- > qemu-img.texi | 7 ++++++- > 2 files changed, 36 insertions(+), 4 deletions(-) Reviewed-by: Stefan Hajnoczi