virtio-scsi: Hook up with dataplane
authorFam Zheng <famz@redhat.com>
Tue, 23 Sep 2014 07:49:25 +0000 (15:49 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Sep 2014 09:11:20 +0000 (11:11 +0200)
commit63c7e542686ff9616816b527c824ec0ac1f73cbe
treed08f2ff107bd91d6ed89073b12edc190b83780c1
parent91cb1c9b56064e7cba27ab310c9c4c477694589e
virtio-scsi: Hook up with dataplane

This enables the virtio-scsi-dataplane code by setting the iothread
in virtio-scsi device, and makes any function that is called by
back from dataplane to cooperate with the caller: they need to be
vring/iothread aware when handling the requests and using scsi devices
on the bus.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/virtio-scsi.c