diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-04-06 12:16:26 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-04-07 19:57:33 +0300 |
commit | 8a2fad57eb124ec0633f6f2b1c74c991fc7501bd (patch) | |
tree | ba4c029404ecda2c751b1d4a886a67a9d8b58bd9 /hw/scsi/virtio-scsi.c | |
parent | 344dc16fae0cb6a011aa5befffc8e7d520b11d5d (diff) | |
download | qemu-8a2fad57eb124ec0633f6f2b1c74c991fc7501bd.zip qemu-8a2fad57eb124ec0633f6f2b1c74c991fc7501bd.tar.gz qemu-8a2fad57eb124ec0633f6f2b1c74c991fc7501bd.tar.bz2 |
virtio-blk: use aio handler for data plane
In addition to handling IO in vcpu thread and in io thread, dataplane
introduces yet another mode: handling it by AioContext.
This reuses the same handler as previous modes, which triggers races as
these were not designed to be reentrant. Use a separate handler just
for aio, and 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 'hw/scsi/virtio-scsi.c')
0 files changed, 0 insertions, 0 deletions