[s390x] Set pointer_model to ps2mouse

On s390x environments there is no usb controller, hence the default
pointer model (usbtable) produces failures when launching new instances
with the following error:

    unsupported configuration: USB is disabled for this domain,
    but USB devices are present in the domain XML

Change-Id: I58f7f1148096d703384e089292959718fd413157
Closes-Bug: #1962381
This commit is contained in:
Felipe Reyes 2022-10-21 15:54:19 -03:00
parent f414dbdf0a
commit 6a710c86a3
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ dhcp_domain = {{ dns_domain }}
libvirt_use_virtio_for_bridges=False
libvirt_disk_prefix=vd
{% endif -%}
{% if arch == 's390x' -%}
pointer_model = ps2mouse
{% endif -%}
{% if neutron_plugin and neutron_plugin in ('ovs', 'midonet') -%}
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
{% if neutron_security_groups -%}