summary refs log tree commit diff stats
path: root/util/qemu-coroutine-io.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2017-06-13 22:20:55 +0200
committerMax Reitz <mreitz@redhat.com>2017-07-11 17:45:01 +0200
commitdc5f690b97ccdffa79fe7169bb26b0ebf06688bf (patch)
treecb7ba74b70e9e8ddcd164a6b03082fb8c69386aa /util/qemu-coroutine-io.c
parent3a691c50f10344b052ad70a4d0ed935276ccca3c (diff)
downloadfocaccia-qemu-dc5f690b97ccdffa79fe7169bb26b0ebf06688bf.tar.gz
focaccia-qemu-dc5f690b97ccdffa79fe7169bb26b0ebf06688bf.zip
qemu-img: Expose PreallocMode for resizing
Add a --preallocation command line option to qemu-img resize which can
be used to set the PreallocMode parameter of blk_truncate().

While touching this code, fix the fact that we did not handle errors
returned by blk_getlength().

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170613202107.10125-5-mreitz@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'util/qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions