diff options
| author | Kevin Wolf | 2016-04-25 14:13:12 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-12 15:22:07 +0200 |
| commit | 08844473820c93541fc47bdfeae0f2cc88cfab59 (patch) | |
| tree | c545f1a90b3411eacc94aa72bda3a0a0b7d9f67f /include | |
| parent | block: Introduce bdrv_driver_pwritev() (diff) | |
| download | qemu-08844473820c93541fc47bdfeae0f2cc88cfab59.tar.gz qemu-08844473820c93541fc47bdfeae0f2cc88cfab59.tar.xz qemu-08844473820c93541fc47bdfeae0f2cc88cfab59.zip | |
block: Support AIO drivers in bdrv_driver_preadv/pwritev()
Instead of registering emulation functions as .bdrv_co_writev, just
directly check whether the function is there or not, and use the AIO
interface if it isn't. This makes the read/write functions more
consistent with how things are done in other places (flush, discard,
etc.)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
