]> Git Repo - qemu.git/commit - block/qcow2-refcount.c
block: Add PreallocMode to bdrv_truncate()
authorMax Reitz <[email protected]>
Tue, 13 Jun 2017 20:20:53 +0000 (22:20 +0200)
committerMax Reitz <[email protected]>
Tue, 11 Jul 2017 15:45:01 +0000 (17:45 +0200)
commit7ea37c30660d4cd6aca21a324fabefe23b89f931
tree897afd4ead51179dfb1473bfa44a92a4de121f1f
parent8243ccb7433e59a3faa3cca27fb6c40d6da2b37c
block: Add PreallocMode to bdrv_truncate()

For block drivers that just pass a truncate request to the underlying
protocol, we can now pass the preallocation mode instead of aborting if
it is not PREALLOC_MODE_OFF.

Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 20170613202107[email protected]
Signed-off-by: Max Reitz <[email protected]>
12 files changed:
block.c
block/blkdebug.c
block/block-backend.c
block/crypto.c
block/parallels.c
block/qcow.c
block/qcow2-refcount.c
block/qcow2.c
block/raw-format.c
block/vhdx-log.c
block/vhdx.c
include/block/block.h
This page took 0.024645 seconds and 4 git commands to generate.