nova/nova/pci
Vladik Romanovsky f85b2b84aa pci: adding support to specify a device_type in pci requests
PCI stats will also include device_type in it's pools, in order
to meet the request specs.
Changing the request device_type allowed values to match the
values defined in nova.fields.PciDeviceType

Supporting a device_type in a pci requests specs
will allow the users to explicitly request pci devices by
it's type, i.e. PF or a VF
Some SR-IOV cards expose the same device_id for both PFs and VFs
Due to this fact PFs will be filtered out for the available pools
unless it has been explicitly requested.

While keeping track of the number of available physical functions
in the pci pools, this change will also update the dependent virtual
functions count and remove it from the pools, when PF is allocated.

Physical function will be removed from the pools when one of it's
VFs is allocated.

DocImpact
Partially implements blueprint sriov-physical-function-passthrough

Change-Id: If631d828fbad37a3dd9a61f4d5f9856b6e2f9cfc
2016-01-13 13:26:30 -05:00
..
__init__.py PCI utils 2013-08-23 14:21:12 +08:00
devspec.py objects: adding a parent_addr field to the PciDevice object 2016-01-11 11:18:13 +00:00
manager.py pci: do not filter out any SRIOV Physical Functions 2016-01-12 21:13:12 -05:00
request.py pci: adding support to specify a device_type in pci requests 2016-01-13 13:26:30 -05:00
stats.py pci: adding support to specify a device_type in pci requests 2016-01-13 13:26:30 -05:00
utils.py Merge "libvirt: report pci Type-PF type even when VFs are disabled" 2016-01-05 03:20:34 +00:00
whitelist.py Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00