[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] vhost-scsi: add an ioctl interface to get t
From: |
Gonglei |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] vhost-scsi: add an ioctl interface to get target id |
Date: |
Mon, 26 Jan 2015 16:00:33 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 2015/1/20 5:51, Michael S. Tsirkin wrote:
> On Mon, Jan 19, 2015 at 09:23:38PM +0800, address@hidden wrote:
>> > From: Gonglei <address@hidden>
>> >
>> > 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 <address@hidden>
>> > Signed-off-by: Bo Su <address@hidden>
> 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
[Qemu-devel] [PATCH 2/4] vhost-scsi: add bootindex property, arei.gonglei, 2015/01/19
[Qemu-devel] [PATCH 3/4] vhost-scsi: realize the TYPE_FW_PATH_PROVIDER interface, arei.gonglei, 2015/01/19
[Qemu-devel] [PATCH 4/4] vhost-scsi: add an ioctl interface to get target id, arei.gonglei, 2015/01/19