diff options
author | Fam Zheng <famz@redhat.com> | 2014-08-06 13:35:06 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-09-30 11:11:20 +0200 |
commit | 19d339f11d0768df2b4e0c40530bb4ab53e6bb05 (patch) | |
tree | 9e8b129b7cef82dfb4725c9152268110777032fb /include | |
parent | c8075caf19b000b975349f8976958cedf7d2613a (diff) | |
download | qemu-19d339f11d0768df2b4e0c40530bb4ab53e6bb05.zip qemu-19d339f11d0768df2b4e0c40530bb4ab53e6bb05.tar.gz qemu-19d339f11d0768df2b4e0c40530bb4ab53e6bb05.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/virtio/virtio-scsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h index 6cd2f57..2ff145a 100644 --- a/include/hw/virtio/virtio-scsi.h +++ b/include/hw/virtio/virtio-scsi.h @@ -151,6 +151,7 @@ struct VirtIOSCSIConf { uint32_t cmd_per_lun; char *vhostfd; char *wwpn; + IOThread *iothread; }; typedef struct VirtIOSCSICommon { |