[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] iscsi: add iSCSI block device support
From: |
ronnie sahlberg |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] iscsi: add iSCSI block device support |
Date: |
Mon, 22 Nov 2010 10:39:06 +1100 |
On Mon, Nov 22, 2010 at 10:13 AM, FUJITA Tomonori
<address@hidden> wrote:
> On Mon, 22 Nov 2010 09:17:50 +1100
> ronnie sahlberg <address@hidden> wrote:
>
>> This patch adds support for attaching directorly to iSCSI resources,
>> both DISK/SBC and CDROM/MMC, without the need to make the devices
>> visible to the host.
>
> This adds the iscsi initiator feature to qemu (as you did to dbench),
> right?
Yes.
>
>
>> The syntax to specify a iscsi resource is
>> iscsi://<host>[:port]/<target-iqn-name>/<lun>
>>
>> Example :
>> -drive file=iscsi://127.0.0.1:3260/iqn.ronnie.test/1
>>
>> -cdrom iscsi://127.0.0.1:3260/iqn.ronnie.test/2
>
> Specifying lun looks odd (from the perspective of SCSI initiator)?
>
Ok.
I can easily to change this.
How would you prefer the iscsi:// url look like ?
> btw, how do we specify initiator's configuration (iscsi params, chap,
> initiator iqn, etc)?
>
You cant yet. :-(
Right now they are hardcoded to reasonable defaults I think will work
for most targets.
I want to add more of these features and make them settable from the
command line,
but that will take a lot of time.
Hopefully having a basic/non-flexible implementation as a first step
may even encourage others to
contribute to improve it until it is full featured.
regards
ronnie sahlberg