diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py index 1fa6f1e919014bce79fa851823311ffb15074297..469f857f63e36af282801e6b96c2da01d6872343 100644 --- a/lib/hypervisor/hv_kvm.py +++ b/lib/hypervisor/hv_kvm.py @@ -497,6 +497,10 @@ class KVMHypervisor(hv_base.BaseHypervisor): vnc_arg = 'unix:%s/%s.vnc' % (vnc_bind_address, instance.name) kvm_cmd.extend(['-vnc', vnc_arg]) + + # Also add a tablet USB device to act as a mouse + # This solves various mouse alignment issues + kvm_cmd.extend(['-usbdevice', 'tablet']) else: kvm_cmd.extend(['-nographic'])