Booting a VM with a pci device causes an exception when the host doesnt
have any assignable pci devices.
If a host doesnt expose any pci devices to nova, its pci_stats are set
to None. This causes an exception when the PciPassthroughFilter checks
if the host can support the pci requests.
Reviewed: https:/ /review. openstack. org/167817 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=69ec3b6f0ce ba5db714e35f6d7 2d40f14ef51ad3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 69ec3b6f0ceba5d b714e35f6d72d40 f14ef51ad3
Author: James Chapman <email address hidden>
Date: Wed Apr 8 10:31:04 2015 +0100
Manage compute node that exposes no pci devices
Booting a VM with a pci device causes an exception when the host doesnt ilter checks
have any assignable pci devices.
If a host doesnt expose any pci devices to nova, its pci_stats are set
to None. This causes an exception when the PciPassthroughF
if the host can support the pci requests.
Closes-Bug: #1435981 9b7ea73c43b21db 0909a195a36
Change-Id: Ia9fbec9c7a3afa