Skip to content
Snippets Groups Projects
Commit ff4c65b8 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "CI: Use libvirt/cpu_models instead of cpu_model"

parents 88d51f8d fe46e583
No related branches found
No related tags found
No related merge requests found
[libvirt] [libvirt]
{% if ansible_architecture == 'aarch64' %} {% if ansible_architecture == 'aarch64' %}
cpu_mode=custom cpu_mode = custom
# cpu_model=max fails to boot multiple images with QEMU 7.0 and -M virt (works with "-M virt-6.2") # cpu_model=max fails to boot multiple images with QEMU 7.0 and -M virt (works with "-M virt-6.2")
cpu_model=cortex-a72 cpu_models = cortex-a72
{% elif ansible_architecture == 'x86_64' %} {% elif ansible_architecture == 'x86_64' %}
# RHEL 9 are being compiled for the x86_64-v2 architecture which is # RHEL 9 are being compiled for the x86_64-v2 architecture which is
# newer than the qemu default of qemu64. Nehalem is apparently the # 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 # oldest model that works for x86_64-v2 and is expected to work on
# Intel and AMD cpus with kvm or qemu. # Intel and AMD cpus with kvm or qemu.
{% if virt_type == 'kvm' %} {% if virt_type == 'kvm' %}
cpu_mode=custom cpu_mode = custom
cpu_model=Nehalem cpu_models = Nehalem
{% endif %} {% endif %}
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment