1. 29 1月, 2018 4 次提交
  2. 26 1月, 2018 6 次提交
  3. 25 1月, 2018 1 次提交
  4. 20 1月, 2018 1 次提交
    • J
      nodedev: Fix failing to parse PCI address for non-PCI network devices · 71d56a39
      Jim Fehlig 提交于
      Commit 8708ca01 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 so via the following call chain
      
        virNetDevSwitchdevFeature()->virNetDevGetPCIDevice()->
        virPCIGetDeviceAddressFromSysfsLink()
      
      For non-PCI network devices (qeth, Xen vif, etc),
      virPCIGetDeviceAddressFromSysfsLink() will report an error when
      virPCIDeviceAddressParse() fails. virPCIDeviceAddressParse() also
      logs an error. After commit 8708ca01 there are now two errors reported
      for each non-PCI network device even though the errors are harmless.
      
      To avoid the errors, introduce virNetDevIsPCIDevice() and use it in
      virNetDevGetPCIDevice() before attempting to retrieve the associated
      PCI device. virNetDevIsPCIDevice() uses the 'subsystem' property of the
      device to determine if it is PCI. See the sysfs rules in kernel
      documentation for more details
      
      https://www.kernel.org/doc/html/latest/admin-guide/sysfs-rules.html
      71d56a39
  5. 12 1月, 2018 2 次提交
  6. 11 1月, 2018 1 次提交
  7. 08 1月, 2018 4 次提交
  8. 04 1月, 2018 2 次提交
  9. 03 1月, 2018 4 次提交
  10. 14 12月, 2017 3 次提交
  11. 13 12月, 2017 2 次提交
  12. 07 12月, 2017 1 次提交
  13. 05 12月, 2017 1 次提交
  14. 24 11月, 2017 1 次提交
  15. 23 11月, 2017 2 次提交
  16. 18 11月, 2017 5 次提交