diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py index aebbefcf54604e98c8751048eb58231b1cafc2ad..f222f59b31f9a740d626e3ee361571afcc0c34b9 100644 --- a/lib/hypervisor/hv_kvm.py +++ b/lib/hypervisor/hv_kvm.py @@ -1172,8 +1172,9 @@ class KVMHypervisor(hv_base.BaseHypervisor): spice_bind = hvp[constants.HV_KVM_SPICE_BIND] spice_ip_version = None + kvm_cmd.extend(["-usb"]) + if mouse_type: - kvm_cmd.extend(["-usb"]) kvm_cmd.extend(["-usbdevice", mouse_type]) elif vnc_bind_address: kvm_cmd.extend(["-usbdevice", constants.HT_MOUSE_TABLET])