On 10/10/2017 06:30 AM, John Ferlan wrote: > Commit id '8708ca01c' added a check to determine whether the NIC had > Switchdev capabilities; however, in doing so inadvertently would cause > network devices without a PCI device to not be added to the node device > database. Thus, network devices having a "computer" as a parent, such > as "net_lo*", "net_virbr*", "net_tun*", "net_vnet*", etc. were not added. > > Alter the check to not even check for Switchdev bits if no PCI device found. > > Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx> > --- > > Found this gem while running the Avocado test suite while doing some > other work. It's only 3.8.0 that'll have the missing devices. > > src/util/virnetdev.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > ACK Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list