virtio-scsi: Add 'iothread' property to virtio-scsi
commit19d339f11d0768df2b4e0c40530bb4ab53e6bb05
authorFam Zheng <famz@redhat.com>
Wed, 6 Aug 2014 05:35:06 +0000 (6 13:35 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 30 Sep 2014 09:11:20 +0000 (30 11:11 +0200)
tree9e8b129b7cef82dfb4725c9152268110777032fb
parentc8075caf19b000b975349f8976958cedf7d2613a
virtio-scsi: Add 'iothread' property to virtio-scsi

Similar to this property in virtio-blk for dataplane, add it as a QOM
link in virtio-scsi and an alias in virtio-scsi-pci and virtio-scsi-ccw,
in order to assign an iothread to the device.

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