On Mon, Apr 03, 2017 at 06:09:24PM +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