mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
c8075caf19
commit
19d339f11d
4 changed files with 16 additions and 0 deletions
|
@ -151,6 +151,7 @@ struct VirtIOSCSIConf {
|
|||
uint32_t cmd_per_lun;
|
||||
char *vhostfd;
|
||||
char *wwpn;
|
||||
IOThread *iothread;
|
||||
};
|
||||
|
||||
typedef struct VirtIOSCSICommon {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue