CI: tell Nova which CPU to emulate on AArch64
AArch64 does not have a way to get cpu features from libvirt. Change-Id: Ieed404e17e8a9829f38c03f7ee7fdb3caa3919e8
This commit is contained in:
parent
20f39e4a36
commit
bfd661a600
@ -1,7 +1,12 @@
|
|||||||
[libvirt]
|
[libvirt]
|
||||||
virt_type=qemu
|
virt_type=qemu
|
||||||
# NOTE(Jeffrey4l): fix the gate in iax-ord nodes for libvirt 2.0.
|
# NOTE(Jeffrey4l): fix the gate in iax-ord nodes for libvirt 2.0.
|
||||||
|
{% if ansible_architecture == 'aarch64' %}
|
||||||
|
cpu_mode=custom
|
||||||
|
cpu_model=max
|
||||||
|
{% else %}
|
||||||
cpu_mode=none
|
cpu_mode=none
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{# TODO(mnasiadka): Remove in Victoria #}
|
{# TODO(mnasiadka): Remove in Victoria #}
|
||||||
{% if scenario == 'ceph-ansible' and is_previous_release %}
|
{% if scenario == 'ceph-ansible' and is_previous_release %}
|
||||||
|
Loading…
Reference in New Issue
Block a user