qemu-e2k/include/hw/virtio
Fam Zheng 91cb1c9b56 virtio-scsi-dataplane: Code to run virtio-scsi on iothread
This implements the core part of dataplane feature of virtio-scsi.

A few fields are added in VirtIOSCSICommon to maintain the dataplane
status. These fields are managed by a new source file:
virtio-scsi-dataplane.c.

Most code in this file will run on an iothread, unless otherwise
commented as in a global mutex context, such as those functions to
start, stop and setting the iothread property.

Upon start, we set up guest/host event notifiers, in a same way as
virtio-blk does. The handlers then pop request from vring and call into
virtio-scsi.c functions to process it. So we need to make sure make all
those called functions work with iothread, too.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-30 11:11:20 +02:00
..
dataplane virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
vhost-backend.h
vhost-scsi.h
vhost.h
virtio_ring.h virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
virtio-9p.h
virtio-access.h
virtio-balloon.h
virtio-blk.h block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
virtio-bus.h
virtio-net.h
virtio-rng.h
virtio-scsi.h virtio-scsi-dataplane: Code to run virtio-scsi on iothread 2014-09-30 11:11:20 +02:00
virtio-serial.h virtio-serial: create a linked list of all active devices 2014-08-18 22:42:37 +05:30
virtio.h virtio: add a wrapper for virtio-backend initialization 2014-09-30 11:09:59 +02:00