commit | 360bd07471dfd1830246e8403ffdc9ba9d82f9d4 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Apr 15 16:56:07 2019 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Apr 30 15:29:00 2019 +0200 |
tree | 6c2f7bc1811979d6b0554ee298d2a35b945b36b3 | |
parent | f29fbf7c6b1c9a84f6931c1c222716fbe073e6e4 [diff] |
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>