![]() libvirt < 1.3 reports virt_functions capability only when pf has VFs enabled. This workaround patch updates the is_physical_function function to read the sriov_totalvfs if exists and check it is greater than 0. The sriov_totalvfs is the number for the maximum possible VF for this PF. _get_pcidev_info in libvirt driver is updated to get the correct pci device type using this function. Closes-Bug: #1499204 Change-Id: I8990c36fb1d6c66093a465930ff3f0948dd64986 |
||
---|---|---|
.. | ||
__init__.py | ||
fakes.py | ||
test_devspec.py | ||
test_manager.py | ||
test_request.py | ||
test_stats.py | ||
test_utils.py | ||
test_whitelist.py |