commit | 8eedfbd4a50299f03b3630659c34ad1b01f69370 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Apr 14 16:32:45 2015 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Apr 28 15:36:09 2015 +0200 |
tree | 9f8ca23eb8c1c40067649cf9ec293f7fe62c8cec | |
parent | e4f587492331df0ac50bad6131ea273d527af796 [diff] |
blkdebug: Add bdrv_truncate() This is, amongst others, required for qemu-iotests 033 to run as intended on VHDX, which uses explicit bdrv_truncate() calls to bs->file when allocating new blocks. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com>