On 2015/1/20 5:51, Michael S. Tsirkin wrote:

> On Mon, Jan 19, 2015 at 09:23:38PM +0800, arei.gong...@huawei.com wrote:
>> > From: Gonglei <arei.gong...@huawei.com>
>> > 
>> > Because vhost-scsi module do not support VHOST_SCSI_GET_TPGT
>> > at present, so I use "#if 0" handle it, and set the target
>> > default to 1. In addition, channel and lun both are 0 for
>> > bootable vhost-scsi device.
>> > 
>> > Signed-off-by: Gonglei <arei.gong...@huawei.com>
>> > Signed-off-by: Bo Su <su...@huawei.com>
> OK but let's see the kernel patch get accepted first.
> 

Hi, Michael & Paolo

Because Qemu only accept an wwpn argument for vhost-scsi, we
cannot assign a tpgt. That's say tpg is transparent for Qemu, Qemu
doesn't know which tpg can boot, but vhost-scsi driver module
doesn't know too for one assigned wwpn. At present, we assume that
the first tpg can boot only, and add an ioctl to get the first tpgt,
can we? Looking  forward to your reply for any suggestions.

Regards,
-Gonglei


Reply via email to