]> git.proxmox.com Git - mirror_qemu.git/commit - block/cloop.c
cloop: Implement .bdrv_co_preadv() interface
authorKevin Wolf <kwolf@redhat.com>
Mon, 25 Apr 2016 13:21:46 +0000 (15:21 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 May 2016 13:22:08 +0000 (15:22 +0200)
commit5cd230819ec26caf199bf73d38cf2407344e4443
tree66b35a7327fb379d17a02e48031f990c3de93981
parent3b8fd3301147585765624cd733e6172a25efcb58
cloop: Implement .bdrv_co_preadv() interface

This implements .bdrv_co_preadv() for the cloop block driver. While
updating the error paths, change -1 to a valid -errno code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
block/cloop.c