Use custom cpu_models on Redhat family only
Change-Id: Ibe02bf3430bad3606e291273c8a1feb148b83711
This commit is contained in:
parent
416da1f522
commit
12cbf39eed
@ -1,11 +1,11 @@
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
|
{% if ansible_facts.os_family == 'RedHat' and nova_compute_virt_type == 'kvm' %}
|
||||||
[libvirt]
|
[libvirt]
|
||||||
# RHEL 9 and Ubuntu Jammy are being compiled for the x86_64-v2
|
# RHEL 9 are being compiled for the x86_64-v2
|
||||||
# architecture which is newer than the qemu default of qemu64.
|
# architecture which is newer than the qemu default of qemu64.
|
||||||
# Nehalem is apparently the oldest model that works for x86_64-v2
|
# 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.
|
# and is expected to work on Intel and AMD cpus with kvm or qemu.
|
||||||
{% if nova_compute_virt_type == 'kvm' %}
|
cpu_mode = custom
|
||||||
cpu_mode=custom
|
cpu_models = Nehalem
|
||||||
cpu_model=Nehalem
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
Reference in New Issue
Block a user