[libvirt] [PATCH 4/4 v5] virsh: Use virNodeDeviceLookupSCSIHostByWWN

Osier Yang jyang at redhat.com
Mon Feb 11 13:16:32 UTC 2013


On 2013年02月07日 23:09, Daniel P. Berrange wrote:
> On Mon, Feb 04, 2013 at 10:16:44PM +0800, Osier Yang wrote:
>> Only nodedev-destroy and nodedev-dumpxml can benifit from the
>> new API, other commands like nodedev-detach only works for
>> PCI devices, WWN makes no sense for them.
>
> Is that really correct ? I thought we could use 'nodedev-detach' to
> delete an NPIV SCSI adapter, which would benefit from WWN wouldn't
> it ?

nodedev-destroy can be used to delete the NPIV scsi adapter. Do we
also want to delete it using nodedev-detach? personally I think no
need, it just can introduce confusion.

Osier




More information about the libvir-list mailing list