Re: [libvirt] [PATCH V2] nodedev: Fix failing to parse PCI address for non-PCI network devices

2018-01-17 Thread Jim Fehlig
On 01/09/2018 04:35 AM, Erik Skultety wrote: On Mon, Jan 08, 2018 at 10:08:59AM -0700, Jim Fehlig wrote: Based loosely on a patch from Fei Li . Commit 8708ca01c added virNetDevSwitchdevFeature() to check if a network device has Switchdev capabilities. virNetDevSwitchdevFeature()

Re: [libvirt] [PATCH V2] nodedev: Fix failing to parse PCI address for non-PCI network devices

2018-01-09 Thread Erik Skultety
On Mon, Jan 08, 2018 at 10:08:59AM -0700, Jim Fehlig wrote: > Based loosely on a patch from Fei Li . > > Commit 8708ca01c added virNetDevSwitchdevFeature() to check if a network > device has Switchdev capabilities. virNetDevSwitchdevFeature() attempts > to retrieve the PCI device

[libvirt] [PATCH V2] nodedev: Fix failing to parse PCI address for non-PCI network devices

2018-01-08 Thread Jim Fehlig
Based loosely on a patch from Fei Li . Commit 8708ca01c added virNetDevSwitchdevFeature() to check if a network device has Switchdev capabilities. virNetDevSwitchdevFeature() attempts to retrieve the PCI device associated with the network device, ignoring non-PCI devices. It does