On Wed, Feb 22, 2017 at 03:13:05PM +0100, Paolo Bonzini wrote:
On 22/02/2017 15:11, Daniel P. Berrange wrote:
> On Wed, Feb 22, 2017 at 03:10:00PM +0100, Paolo Bonzini wrote:
>>
>>
>> On 22/02/2017 14:46, Daniel P. Berrange wrote:
>>> On Wed, Feb 22, 2017 at 02:38:32PM +0100, Paolo Bonzini wrote:
>>>>
>>>>
>>>> On 22/02/2017 11:05, Daniel P. Berrange wrote:
>>>>> I'd also suggest just assigning the whole vHBA
>>>>
>>>> What do you mean by "assigning the whole vHBA"? There is no
concept of
>>>> a vHBA as e.g. a PCI virtual function.
>>>
>>> I thought we had a generic SCSI passthrough capability that could
>>> attach to the SCSI vHBA in the host, or am I mis-remembering ?
>>
>> No, the SCSI passthrough capability attaches to a single device.
>>
>> With Fibre Channel, zoning allows you to configure the set of visible
>> disks for each machine (or more accurately for each WWPN and/or WWNN) at
>> the storage fabric level. So the idea is to just configure the
>> WWPN/WWNN and let libvirt handle the discovery of disks underneath. The
>> alternative is to do it in both oVirt and Nova though, as mentioned
>> elsewhere in the thread, libvirt could still provide a udev wrapper.
>
> What do you mean by "provide a udev wrapper" ?
Expose udev events in a way that is friendly to someone who is consuming
the nodedev API.
We've got that support already. Apps can register to receive events
whenever a virNodeDevice is added or removed from a host, as well as
if its config changes.
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://entangle-photo.org -o-
http://search.cpan.org/~danberr/ :|