pci_passthrough_whitelist in nova.conf can only filter PCI devices by product_id and vender_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I want to use SR-IOV in Openstack.
I have one NIC with two slots. Only one slot is plugged in. So the NIC has two Physical Function. I enabled sr-iov on this machine. So I got 32 virtual functions(16 virtual function for each physical function).
Now I want to make openstack only use the 16 virtual functions for the physical functions which is plugged in. However, I found that only product_id and vender_id can be the filter criteria when I looked up the code in pci/pci_
I hope I could filter PCI devices by physical functions like this pci_passthrough
There is a same problem for the pci_alias. I can't use extra_info to define the pci_alias filter(The physical function info is in extra_info)
Changed in nova: | |
assignee: | nobody → Young (afe-young) |
summary: |
- pci_passthrough_whitelist in nova.conf can only filter by product_id - and vender_id + pci_passthrough_whitelist in nova.conf can only PCI devices filter by + product_id and vender_id |
summary: |
- pci_passthrough_whitelist in nova.conf can only PCI devices filter by - product_id and vender_id + pci_passthrough_whitelist in nova.conf can only filter PCI devices + by product_id and vender_id |
description: | updated |
description: | updated |
Changed in nova: | |
status: | New → In Progress |
status: | In Progress → New |
Changed in nova: | |
status: | New → In Progress |
review: https:/ /review. openstack. org/#/c/ 101846/