libvirt: mdevs returning parent and vendor PCI info
In order to provide inventories per physical GPUs, the libvirt driver needs to
know the parent ID for each mediated device.
Also, given we need to limit the max unit of vGPUs per guest to 1 if that's a
nvidia GPU, we also need to pass the PCI vendor ID down to the driver.
Reviewed: https:/ /review. openstack. org/562304 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=75296274888 86f981a4c3d3d79 94f92ef7956cee
Committed: https:/
Submitter: Zuul
Branch: master
commit 7529627488886f9 81a4c3d3d7994f9 2ef7956cee
Author: Sylvain Bauza <email address hidden>
Date: Tue Apr 17 15:46:05 2018 +0200
libvirt: mdevs returning parent and vendor PCI info
In order to provide inventories per physical GPUs, the libvirt driver needs to
know the parent ID for each mediated device.
Also, given we need to limit the max unit of vGPUs per guest to 1 if that's a
nvidia GPU, we also need to pass the PCI vendor ID down to the driver.
Related-Bug: #1758086 8e7f8b58531da1b 1e95783c779
Change-Id: Ib80af55ccf4e57