wrong check for physical function in pci utils
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Moshe Levi |
Bug Description
in pci utils the is_physical_
if the PF doen't enable SR-IOV meaning sriov_numvfs is set to zero there are no virtfn* ljnks and the nova-compute recognize it as VF.
see:
root@r-
broken_
class device infiniband irq msi_bus power resource sriov_totalvfs vendor
commands_cache dma_mask_bits infiniband_cm local_cpulist msi_irqs real_miss resource0 subsystem vpd
config driver infiniband_mad local_cpus net remove resource0_wc subsystem_device
consistent_
root@r-
0
root@r-
root@r-
broken_
class device infiniband irq msi_bus power resource sriov_totalvfs vendor vpd
commands_cache dma_mask_bits infiniband_cm local_cpulist msi_irqs real_miss resource0 subsystem virtfn0
config driver infiniband_mad local_cpus net remove resource0_wc subsystem_device virtfn1
consistent_
tags: | added: pci-passthogth |
tags: |
added: passthrough pci removed: pci-passthogth |
Fix proposed to branch: master /review. openstack. org/227160
Review: https:/