Skip to content

Commit 416da1f

Browse files
committed
set cpu_model to Nehalem for kvm jobs
RHEL 9 and Ubuntu Jammy are being compiled for the x86_64-v2 architecture which is newer than the qemu default of qemu64. Nehalem is apparently the oldest model that works for x86_64-v2 and is expected to work on Intel and AMD cpus with kvm or qemu. See devstack change [0]. [0]: Ibd6e11b59f3c8655bc60ace7383a08458b2177f2 Depends-on: https://review.opendev.org/c/openstack/kayobe/+/872981 Change-Id: I09567b4cce95ff1fe2fe4e9e91e49d5f5082f7d0
1 parent fad02cc commit 416da1f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{% raw %}
2+
[libvirt]
3+
# RHEL 9 and Ubuntu Jammy are being compiled for the x86_64-v2
4+
# architecture which is newer than the qemu default of qemu64.
5+
# Nehalem is apparently the oldest model that works for x86_64-v2
6+
# and is expected to work on Intel and AMD cpus with kvm or qemu.
7+
{% if nova_compute_virt_type == 'kvm' %}
8+
cpu_mode=custom
9+
cpu_model=Nehalem
10+
{% endif %}
11+
{% endraw %}

0 commit comments

Comments
 (0)