diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-04-25 14:13:12 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-12 15:22:07 +0200 |
commit | 08844473820c93541fc47bdfeae0f2cc88cfab59 (patch) | |
tree | c545f1a90b3411eacc94aa72bda3a0a0b7d9f67f /target-cris/gdbstub.c | |
parent | 78a07294d51c6575441ab058ed56de5d364d2833 (diff) | |
download | qemu-08844473820c93541fc47bdfeae0f2cc88cfab59.tar.gz qemu-08844473820c93541fc47bdfeae0f2cc88cfab59.tar.bz2 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 'target-cris/gdbstub.c')
0 files changed, 0 insertions, 0 deletions