Re: [libvirt] [PATCH 02/11] nodedev: Create helpers to search for vport capable nodedevs

2017-01-02 Thread Ján Tomko
On Fri, Nov 18, 2016 at 09:26:28AM -0500, John Ferlan wrote: Extract out code from virNodeDeviceGetParentHost into helpers - it's going to be reused in upcoming patches to search on more fields Create virNodeDeviceFindVPORTCapDef in order to return a virNodeDevCapsDefPtr of the VPORT_OPS and vir

[libvirt] [PATCH 02/11] nodedev: Create helpers to search for vport capable nodedevs

2016-11-18 Thread John Ferlan
Extract out code from virNodeDeviceGetParentHost into helpers - it's going to be reused in upcoming patches to search on more fields Create virNodeDeviceFindVPORTCapDef in order to return a virNodeDevCapsDefPtr of the VPORT_OPS and virNodeDeviceFindFCParentHost to use the function and generate an