diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-08 14:19:33 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-08 14:19:33 +0000 |
| commit | 9ebc3c7b58e0820054942a2e22b7c48889c3ee26 (patch) | |
| tree | 4aa48e6571ba9d616b61fde66be09aba9c9594f9 /results/classifier/012/permissions/50773216 | |
| parent | 3af0ee7c943b43fc12cca126c4cc03eef9f1191a (diff) | |
| download | emulator-bug-study-9ebc3c7b58e0820054942a2e22b7c48889c3ee26.tar.gz emulator-bug-study-9ebc3c7b58e0820054942a2e22b7c48889c3ee26.zip | |
add 012 result
Diffstat (limited to 'results/classifier/012/permissions/50773216')
| -rw-r--r-- | results/classifier/012/permissions/50773216 | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/results/classifier/012/permissions/50773216 b/results/classifier/012/permissions/50773216 new file mode 100644 index 00000000..320ce82a --- /dev/null +++ b/results/classifier/012/permissions/50773216 @@ -0,0 +1,128 @@ +permissions: 0.813 +risc-v: 0.813 +architecture: 0.788 +device: 0.764 +arm: 0.758 +register: 0.751 +other: 0.737 +graphic: 0.723 +kernel virtual machine: 0.702 +semantic: 0.669 +files: 0.666 +debug: 0.659 +vnc: 0.656 +socket: 0.652 +mistranslation: 0.652 +boot: 0.637 +PID: 0.636 +performance: 0.628 +assembly: 0.623 +network: 0.606 +TCG: 0.571 +x86: 0.510 + +[Qemu-devel] Can I have someone's feedback on [bug 1809075] Concurrency bug on keyboard events: capslock LED messing up keycode streams causes character misses at guest kernel + +Hi everyone. +Can I please have someone's feedback on this bug? +https://bugs.launchpad.net/qemu/+bug/1809075 +Briefly, guest OS loses characters sent to it via vnc. And I spot the +bug in relation to ps2 driver. +I'm thinking of possible fixes and I might want to use a memory barrier. +But I would really like to have some suggestion from a qemu developer +first. For example, can we brutally drop capslock LED key events in ps2 +queue? +It is actually relevant to openQA, an automated QA tool for openSUSE. +And this bug blocks a few test cases for us. +Thank you in advance! + +Kind regards, +Gao Zhiyuan + +Cc'ing Marc-André & Gerd. + +On 12/19/18 10:31 AM, Gao Zhiyuan wrote: +> +Hi everyone. +> +> +Can I please have someone's feedback on this bug? +> +https://bugs.launchpad.net/qemu/+bug/1809075 +> +Briefly, guest OS loses characters sent to it via vnc. And I spot the +> +bug in relation to ps2 driver. +> +> +I'm thinking of possible fixes and I might want to use a memory barrier. +> +But I would really like to have some suggestion from a qemu developer +> +first. For example, can we brutally drop capslock LED key events in ps2 +> +queue? +> +> +It is actually relevant to openQA, an automated QA tool for openSUSE. +> +And this bug blocks a few test cases for us. +> +> +Thank you in advance! +> +> +Kind regards, +> +Gao Zhiyuan +> + +On Thu, Jan 03, 2019 at 12:05:54PM +0100, Philippe Mathieu-Daudé wrote: +> +Cc'ing Marc-André & Gerd. +> +> +On 12/19/18 10:31 AM, Gao Zhiyuan wrote: +> +> Hi everyone. +> +> +> +> Can I please have someone's feedback on this bug? +> +> +https://bugs.launchpad.net/qemu/+bug/1809075 +> +> Briefly, guest OS loses characters sent to it via vnc. And I spot the +> +> bug in relation to ps2 driver. +> +> +> +> I'm thinking of possible fixes and I might want to use a memory barrier. +> +> But I would really like to have some suggestion from a qemu developer +> +> first. For example, can we brutally drop capslock LED key events in ps2 +> +> queue? +There is no "capslock LED key event". 0xfa is KBD_REPLY_ACK, and the +device queues it in response to guest port writes. Yes, the ack can +race with actual key events. But IMO that isn't a bug in qemu. + +Probably the linux kernel just throws away everything until it got the +ack for the port write, and that way the key event gets lost. On +physical hardware you will not notice because it is next to impossible +to type fast enough to hit the race window. + +So, go fix the kernel. + +Alternatively fix vncdotool to send uppercase letters properly with +shift key pressed. Then qemu wouldn't generate capslock key events +(that happens because qemu thinks guest and host capslock state is out +of sync) and the guests's capslock led update request wouldn't get into +the way. + +cheers, + Gerd + |