]> git.proxmox.com Git - mirror_qemu.git/commit
block: Remove error messages in bdrv_make_zero()
authorKevin Wolf <kwolf@redhat.com>
Fri, 22 Mar 2019 12:53:46 +0000 (13:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 26 Mar 2019 10:37:51 +0000 (11:37 +0100)
commit48ce986096bb70354b12f0becb253a06bcf9c434
treea4d86945c69af3d2f6ed1454f49da332b6dc39e1
parenta66c4b83c99c06626bed19ec0bf609bfe87a8cf3
block: Remove error messages in bdrv_make_zero()

There is only a single caller of bdrv_make_zero(), which is qemu-img
convert. If the function fails, we just fall back to a different method
of zeroing out blocks on the target image. There is no good reason to
print error messages on stderr when the higher level operation will
actually succeed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Eric Blake <eblake@redhat.com>
block/io.c