summaryrefslogtreecommitdiffstats
path: root/include/qapi/error.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2016-04-06 12:16:25 +0200
committerMichael S. Tsirkin2016-04-07 18:57:33 +0200
commit344dc16fae0cb6a011aa5befffc8e7d520b11d5d (patch)
treee32e2113e95926f9a08373f907a4cbd3221fbb66 /include/qapi/error.h
parentvirtio-scsi: fix disabled mode (diff)
downloadqemu-344dc16fae0cb6a011aa5befffc8e7d520b11d5d.tar.gz
qemu-344dc16fae0cb6a011aa5befffc8e7d520b11d5d.tar.xz
qemu-344dc16fae0cb6a011aa5befffc8e7d520b11d5d.zip
virtio: add aio handler
In addition to handling IO in vcpu thread and in io thread, blk dataplane introduces yet another mode: handling it by AioContext. Currently, this reuses the same handler as previous modes, which triggers races as these were not designed to be reentrant. Add instead a separate handler just for aio; this will make it possible to disable regular handlers when dataplane is active. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/qapi/error.h')
0 files changed, 0 insertions, 0 deletions