On 2020/11/2 下午2:36, Jason Wang wrote:
The need to share event/control vqs between devices is a problem though,
and sending lots of ioctls on things like reset is also not that
elegant.
Jason, did you have a good solution in mind?
Nope, I'm not familiar with SCSI so I don't even know sharing evt/cvq
is possible. Consider VHOST_SCSI_MAX_VQ is already 128 per device.
Mike's proposal seems to be better.
Thanks
Btw, it looks to me vhost_scsi_do_evt_work() has the assumption of iovec
layout which needs to be fixed.
Thanks