Commit 8174c8fe authored by Łukasz Nowak's avatar Łukasz Nowak

kvm: Switch mouse to tablet mode

This allows to synchronise server position of the mouse with the client one,
thus making mouse really usable.

See https://wiki.gentoo.org/wiki/QEMU/Options#USB
parent 17bc6687
...@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257 ...@@ -55,7 +55,7 @@ md5sum = b7e87479a289f472b634a046b44b5257
[template-kvm-run] [template-kvm-run]
filename = template/template-kvm-run.in filename = template/template-kvm-run.in
md5sum = a502782244d1be536b732ebb40725f47 md5sum = f840e8b7af83982525f66d7ec12b7085
[template-kvm-controller] [template-kvm-controller]
filename = template/kvm-controller-run.in filename = template/kvm-controller-run.in
......
...@@ -277,6 +277,8 @@ kvm_argument_list = [qemu_path, ...@@ -277,6 +277,8 @@ kvm_argument_list = [qemu_path,
'-pidfile', pid_file_path, '-msg', 'timestamp=on', '-pidfile', pid_file_path, '-msg', 'timestamp=on',
'-D', logfile, '-D', logfile,
'-nodefaults', '-nodefaults',
# switch to tablet mode for the mouse to have it synced with a client, see https://wiki.gentoo.org/wiki/QEMU/Options#USB
'-usbdevice', 'tablet',
] ]
for disk_info in disk_info_list: for disk_info in disk_info_list:
kvm_argument_list += ( kvm_argument_list += (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment