From 6a710c86a394584a8bfa955713f1f9653f6e0607 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Fri, 21 Oct 2022 15:54:19 -0300 Subject: [PATCH] [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 --- templates/yoga/nova.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/yoga/nova.conf b/templates/yoga/nova.conf index a0ab7096..7cb38273 100644 --- a/templates/yoga/nova.conf +++ b/templates/yoga/nova.conf @@ -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 -%}