blob: a308e9a9724d0d0cd256d573ce5fb297b39e3d20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
graphic: 0.972
instruction: 0.859
device: 0.784
semantic: 0.763
other: 0.657
boot: 0.585
network: 0.489
socket: 0.471
vnc: 0.463
mistranslation: 0.444
KVM: 0.411
assembly: 0.216
Crazy mouse movement when passing `-M pc,vmport=off -accel kvm -vga virtio` at the same time
Description of problem:
The mouse cursor is unusable in an x86 guest (disappears, jumps around like crazy) in a graphical environment when `-M pc,vmport=off -accel kvm -vga virtio` is given at the same time.
Steps to reproduce:
1. Download https://download.manjaro.org/xfce/22.0.5/manjaro-xfce-22.0.5-230316-linux61.iso
2. Start above command
3. Wait until the graphical desktop appears
4. Click inside the window and move the mouse
-> Mouse cursor disappears or jumps around like crazy
Additional information:
If vmport=off is **not** passed, at some point during startup (before graphical login manager appears) the guest switches to use vmmouse from PS/2 mouse. There it also requests usage of absolute input coordinates (VMMOUSE_REQUEST_ABSOLUTE). This code path works normal. Therefore the culprit might be in the guest.
Another way to reproduce the issue is to use -accel whpx under Windows host (no need to pass vmport=off there). It can be observed that the same guest doesn't attempt to switch to vmmouse there, just like passing vmport=off under Linux.
The problem does not exist on Linux host when -accel tcg is used in which case the guest doesn't attempt to switch to vmmouse.
|