blob: 052a2b13d2134ee4e458b49dd99b301486509190 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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.
|