On Mon, Mar 13, 2017 at 10:40:32PM +0100, Max Reitz wrote: > blk_truncate() itself will pass that value to bdrv_truncate(), and all > callers of blk_truncate() just set the parameter to PREALLOC_MODE_OFF > for now. > > Signed-off-by: Max Reitz <mre...@redhat.com> > --- > include/sysemu/block-backend.h | 3 ++- > block/block-backend.c | 5 +++-- > block/commit.c | 4 ++-- > block/mirror.c | 3 ++- > block/parallels.c | 2 +- > block/qcow.c | 2 +- > block/qcow2.c | 4 ++-- > block/qed.c | 2 +- > block/vdi.c | 3 ++- > block/vhdx.c | 5 +++-- > block/vmdk.c | 7 ++++--- > block/vpc.c | 2 +- > blockdev.c | 2 +- > qemu-img.c | 2 +- > qemu-io-cmds.c | 2 +- > 15 files changed, 27 insertions(+), 21 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature