commit | d46a0bb24d6061c1eadcf1136fa73dc7c4ac267d | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Jun 01 16:55:05 2016 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Jun 16 15:19:55 2016 +0200 |
tree | c6bd837ba2b8b703a714c898838efa0c25340c4f | |
parent | 8556739355d2a5392334c237486e32bd0f24c227 [diff] |
qcow2: Implement .bdrv_co_pwritev() This changes qcow2 to implement the byte-based .bdrv_co_pwritev interface rather than the sector-based old one. As preallocation uses the same allocation function as normal writes, and the interface of that function needs to be changed, it is converted in the same patch. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>