Configure Nova libvirt.num_pcie_ports to 16 by default
When using the 'q35' machine type, by default, it allows only
a single PCIe device to be hotplugged. Nova currently sets
'num_pcie_ports' to "0" (defaults to libvirt's "1"), which is
not sufficient for hotplug use.
The max value is 28, but 16 is enough in most cases.
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/895373 /opendev. org/openstack/ kolla-ansible/ commit/ 401a39f5245cf61 6dcff8eb67de1bb c3b46fc9c8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 401a39f5245cf61 6dcff8eb67de1bb c3b46fc9c8
Author: Jeffrey Zhang <email address hidden>
Date: Wed Dec 23 13:42:16 2020 +0800
Configure Nova libvirt. num_pcie_ ports to 16 by default
When using the 'q35' machine type, by default, it allows only pcie_ports' to "0" (defaults to libvirt's "1"), which is
a single PCIe device to be hotplugged. Nova currently sets
'num_
not sufficient for hotplug use.
The max value is 28, but 16 is enough in most cases.
More info please check
* [0] https:/ /libvirt. org/pci- hotplug. html /marcin. juszkiewicz. com.pl/ 2018/02/ 19/hotplug- in-vm-easy- to-say/ /review. opendev. org/c/openstack /nova/+ /545034
* [1] https:/
* [2] https:/
Co-Authored-By: Bartosz Bezak <email address hidden>
Change-Id: I7b8063566837ae b947927b7d68584 17982b63deb 5ca9ef891d4335f f72d7986f6)
Closes-Bug: 1909063
(cherry picked from commit b8e77deeeff011b