[libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread 韩诚
Hi, Paolo, All,

I read "virtio-scsi support proposal
v2"(http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428).
Try to add a virtio-scsi with scsi-generic like this:

  

  
  


  

  

But It turn out to be wrong, showing:

error: Failed to define domain from rhel63ga
error: XML error: unknown host device source address type 'scsi_host'


I'd like to know how shall to add a virtio-scsi disk with scsi-generic option.

Thanks~

--
Best regards,
Cheng

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread Paolo Bonzini
Il 24/01/2013 10:08, 韩诚 ha scritto:
> Hi, Paolo, All,
> 
> I read "virtio-scsi support proposal
> v2"(http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428).
> Try to add a virtio-scsi with scsi-generic like this:
> 
>   
> 
>   
>   
> 
> 
>   
> 
>   
> 
> But It turn out to be wrong, showing:
> 
> error: Failed to define domain from rhel63ga
> error: XML error: unknown host device source address type 'scsi_host'
> 
> 
> I'd like to know how shall to add a virtio-scsi disk with scsi-generic option.

It's not yet supported by libvirt.

Paolo

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread 韩诚
Thank you~

I'd like to know when it is supported? Is it on schedule?

2013/1/24 Paolo Bonzini :
> Il 24/01/2013 10:08, 韩诚 ha scritto:
>> Hi, Paolo, All,
>>
>> I read "virtio-scsi support proposal
>> v2"(http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428).
>> Try to add a virtio-scsi with scsi-generic like this:
>>
>>   
>> 
>>   
>>   
>> 
>> 
>>   
>> 
>>   
>>
>> But It turn out to be wrong, showing:
>>
>> error: Failed to define domain from rhel63ga
>> error: XML error: unknown host device source address type 'scsi_host'
>>
>>
>> I'd like to know how shall to add a virtio-scsi disk with scsi-generic 
>> option.
>
> It's not yet supported by libvirt.
>
> Paolo
>



-- 
Best regards,
Cheng

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread 韩诚
2013/1/24 韩诚 :
> Hi, Paolo, All,
>
> I read "virtio-scsi support proposal
> v2"(http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428).
> Try to add a virtio-scsi with scsi-generic like this:
>
>   
> 
>   
>   
> 
> 
>   
> 
>   
>
> But It turn out to be wrong, showing:
>
> error: Failed to define domain from rhel63ga
> error: XML error: unknown host device source address type 'scsi_host'
>
Sorry for mistake, "scsi_host" should be "scsi"

>
> I'd like to know how shall to add a virtio-scsi disk with scsi-generic option.
>
> Thanks~
>
> --
> Best regards,
> Cheng



--
Best regards,
Cheng

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt -- add virtio-scsi disk with scsi-generic

2013-01-24 Thread Osier Yang
On 2013年01月24日 17:46, 韩诚 wrote:
> Thank you~
> 
> I'd like to know when it is supported? Is it on schedule?

Right, it's not supported yet, it's on my TODO list (yes, on
schedule), but it will be after the patches for "Migration with
NPIV". Even might be after (or before) integration of ivshmem
server into libvirt. So you may have to wait for a while.
> 
> 2013/1/24 Paolo Bonzini:
>> Il 24/01/2013 10:08, 韩诚 ha scritto:
>>> Hi, Paolo, All,
>>>
>>> I read "virtio-scsi support proposal
>>> v2"(http://permalink.gmane.org/gmane.comp.emulators.libvirt/50428).
>>> Try to add a virtio-scsi with scsi-generic like this:
>>>
>>>
>>>  
>>>
>>>
>>>  
>>>  
>>>
>>>  
>>>
>>>
>>> But It turn out to be wrong, showing:
>>>
>>> error: Failed to define domain from rhel63ga
>>> error: XML error: unknown host device source address type 'scsi_host'
>>>
>>>
>>> I'd like to know how shall to add a virtio-scsi disk with scsi-generic 
>>> option.
>>
>> It's not yet supported by libvirt.
>>
>> Paolo
>>
> 
> 
> 

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list