Bug 1476641

Summary: ui/vnc_keysym.h is very out of date and does not correctly support many Eastern European keyboards
Product: Red Hat Enterprise Linux 7 Reporter: Greg Kable <gkable>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED ERRATA QA Contact: Guo, Zhiyi <zhguo>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.3CC: chayang, jinzhao, juzhang, knoel, michen, rbalakri, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-145.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 14:35:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Greg Kable 2017-07-31 02:10:36 UTC
Description of problem:

Many Eastern European keyboards use characters such as idotless and Cyrillic_A.  Because these keys aren't listed in vnc_keysym.h, they do not get passed through to the VM by qemu-kvm.  This in turn means that it is impossible to use these keys and keyboards with virtualisation on RHEL.


Version-Release number of selected component (if applicable):

qemu-kvm-1.5.3-126.el7_3.10.x86_64


How reproducible:

100% reproducible when using an affected keymap.


Steps to Reproduce:
1. Set your system keyboard to Turkish
2. Start a VM, making sure you use the "-k tr" option to select the Turkish keyboard
3. Using VNC, connect to the VM and press the idotless key (keycode 0x17, same as a normal i on a US keyboard).


Actual results:

No key is sent to the VM even though idotless is correctly mapped in /usr/sahre/qemu-kvm/keymaps/tr.


Expected results:

Depending on the VM's keymap, you should see an 'i' (US or similar), a dotless i (Turkish) or whatever character maps to keycode 0x17 on that keymap.

Additional info:

It would probably be sufficient to simply use the latest version of ui/vnc_keysym.h from upstream.

Comment 4 Miroslav Rezanina 2017-10-06 07:13:59 UTC
Fix included in qemu-kvm-1.5.3-145.el7

Comment 10 errata-xmlrpc 2018-04-10 14:35:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0816