Cannot specify subset of PCI devices for PCI passthrough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
I went through the recent code merge of PCI passthrough implementation. I see some drawbacks in the implementation and would be great improvement if the following can be accommodated.
1. Ability to specify a sub-set of PCI devices to be exported to Openstack via entries in nova.conf of the compute node.
Example: pci_passthrough
2. Group PCI devices, so that when creating flavor, we can choose, how many interfaces from each group needs to be presented to the guest. The group name can be specified in nova.conf of the control node if needed.
For example, if we have to SRIOV cards where each is connected physically to different networks and each has 32 Virtual functions, there is no way in current implementation to spin up a VM with one interface (VF) from each Group
Example:
pci_alias=
pci_alias=
3. 'nova show' and 'nova hypervisor-stats' and 'nova hypervisor-show' shows (a) pci device associated with the VM, (b) shows how may groups are there and what is their current usage, and (c) show individual hypervisor PCI device usage respectively.
4. Some ordering involved which enables guest to predict which PCI device belongs to which network.
Example, in the alphabetical order of the network names ? With this, guest can predict that the first interface will be from IN-group and second will be from OUT-group.
Is there any chance that we can see these in Havana ?
We have an implementation that does these at: https:/
Thanks,
Shesha
Changed in nova: | |
assignee: | Yongli He (yongli-he) → nobody |
It's too late for adding new features to Havana.
You may want to discuss these on openstack-dev. You'll probably get more attention to them that way.