Skip to content

Commit 12345ef

Browse files
committed
Use q35 machine type by default
1 parent 232847a commit 12345ef

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

etc/kayobe/kolla/config/nova.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[libvirt]
2+
hw_machine_type = q35
3+
num_pcie_ports = 16
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
upgrade:
3+
- |
4+
Configure Nova to use more modern 'q35' libvirt machine type rather than
5+
'pc' which is considered legacy.
6+
- |
7+
Configure Nova libvirt.num_pcie_ports to 16 by default. Nova currently
8+
sets 'num_pcie_ports' to "0" (defaults to libvirt's "1"), which is
9+
not sufficient for hotplug use with 'q35' machine type.
10+
fixes:
11+
- |
12+
Fixes an issue where 'q35' libvirt machine type VM could not hotplug
13+
more than one PCIe device at a time.

0 commit comments

Comments
 (0)