Comment 6 for bug 1499204

Revision history for this message
Baodong (Robert) Li (baoli) wrote :

I think that the whtelist is not defined properly. If the address "*:03:00.*" includes some PFs, then it shouldn't use "*" in the address.

The is_physical_funciton() won't be called for the above whitelist entry since the entry contains "*".

Check https://github.com/openstack/nova/blob/master/nova/pci/manager.py#L115
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L4806

According to the the whitelist entry, the PF will be covered by the entry, But the PF shouldn't be added by the caller from the above two references.