[libvirt] [PATCH 2/6] qemu_conf: Fix broken logic for adding passthrough iscsi lun

John Ferlan jferlan at redhat.com
Mon Aug 19 20:35:59 UTC 2013


On 08/16/2013 09:46 AM, Ján Tomko wrote:
> On 08/08/2013 02:43 AM, John Ferlan wrote:
>> Following XML would fail :
>>
>>     <disk type='network' device='lun'>
>>       <driver name='qemu' type='raw'/>
>>       <source protocol='iscsi' name='iqn.2013-07.com.example:iscsi/1'>
>>         <host name='example.com' port='3260'/>
>>       </source>
>>       <target dev='sda' bus='scsi'/>
>>     </disk>
>>
>> With the message:
>>
>> error: Failed to start domain iscsilun
>> error: Unable to get device ID 'iqn.2013-07.com.example:iscsi/1': No such file or directory
>>
>> Cause was commit id '1f49b05a' which added 'virDomainDiskSourceIsBlockType'
>> ---
>>  src/qemu/qemu_conf.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> ACK
> 
> Jan
> 

I adjusted the checkin to credit Osier as the author of the fix - see
comment 8 from bz 957295 which is where I sourced the change.

John




More information about the libvir-list mailing list