blob: f7b18cdf7b37b5757265d0cc9ed4d9bffaaa66fd (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
graphic: 0.919
x86: 0.854
device: 0.767
boot: 0.735
architecture: 0.664
ppc: 0.578
performance: 0.571
semantic: 0.535
KVM: 0.529
files: 0.457
permissions: 0.452
kernel: 0.449
i386: 0.441
arm: 0.420
user-level: 0.354
PID: 0.352
mistranslation: 0.294
risc-v: 0.285
network: 0.284
register: 0.279
virtual: 0.274
hypervisor: 0.270
socket: 0.264
VMM: 0.248
vnc: 0.232
debug: 0.215
TCG: 0.209
assembly: 0.144
peripherals: 0.124
4.0 breaks keyboard autorepeat in guests with xserver
Description:
In a linux/bsd guest within X, pressing and holding a key for a short time causes an endless repeat of that key in the guest. The release of the key gets ignored.
Example 1: pressing and holding 'a' for a few seconds results in typing of 'aaaaaaaaaaaa...' endlessly.
Example 2: pressing and holding 'Backspace' for a few seconds results in deleting all your previously typed text.
It doesn't happen within a VT in the guest. It also doesn't happen with guests that run windows, reactos or haiku for example.
The problem goes away, when disabling xorgs autorepeat function via "xset -r" in the host.
Normally, this setting should not have any effect on the guest, since it has it's own autorepeat setting. So there is some conflict here.
Steps to reproduce:
Start any linux/bsd guest system with xserver, open a terminal, press and hold a key for a short time: Look how it gets typed endlessly (Try a few times if it doesn't happen immediately).
The easiest way is to run a linux live cd, like this (Link to example iso :http://download.grml.org/grml64-full_2018.12.iso)
$ qemu-system-x86_64 -enable-kvm -m 512 -boot d -cdrom grml64-full_2018.12.iso
Qemu version info:
QEMU emulator version 4.0.0
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
Adding Gerd to the CC, since this is possibly caused by recent work to keyboard state tracking code.
Fix has been included here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=5fff13f245cddd3bc26
|