On 26/01/2015 09:00, Gonglei wrote: > 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.
That's okay, alternatively you could add a boot_tpgt argument that defaults to 1 (is it correct that 0 is not a valid tpgt?). Paolo