]> www.infradead.org Git - users/dwmw2/qemu.git/commit
qcow2: Add errp to preallocate_co()
authorKevin Wolf <kwolf@redhat.com>
Mon, 15 Apr 2019 14:56:07 +0000 (16:56 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Sep 2019 18:51:47 +0000 (13:51 -0500)
commite628c14be418cccf7f147a43b7b6c0d92f57e456
tree5dc0d3176de3dddacbeca05f727119d7451cace9
parent5669ef1e6c40298762fc1f0610d6fac2a9552648
qcow2: Add errp to preallocate_co()

We'll add a bdrv_co_truncate() call in the next patch which can return
an Error that we don't want to discard. So add an errp parameter to
preallocate_co().

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 360bd07471dfd1830246e8403ffdc9ba9d82f9d4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/qcow2.c