summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorMax Reitz2017-10-09 17:54:31 +0200
committerMax Reitz2017-10-26 15:01:14 +0200
commit233521b1999810036f63d060ce021d30a8ce0504 (patch)
tree86fdd0d63f87a9929ad731a7398aea24d0e3fa0b /scripts/modules/module_block.py
parentiotests: Filter actual image size in 184 and 191 (diff)
downloadqemu-233521b1999810036f63d060ce021d30a8ce0504.tar.gz
qemu-233521b1999810036f63d060ce021d30a8ce0504.tar.xz
qemu-233521b1999810036f63d060ce021d30a8ce0504.zip
qcow2: Emit errp when truncating the image tail
bdrv_truncate() has an errp parameter which is always set when an error occurs. Let's use that instead of a plain strerror(). Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171009155431.14093-1-mreitz@redhat.com Reviewed-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions