Description of problem:
When input characters '|' and '<' in RHEL7.4/7.5 guests, the output are both '>'; while input characters '<' and '>' in RHEL7.4/7.5 guests, the output are both '|'.
Version-Release number of selected component (if applicable):
Host kernel: 3.10.0-765.el7.x86_64
Guest kernel: 3.10.0-766.el7.x86_64(7.5) 3.10.0-693.el7.x86_64(7.4)
Steps to Reproduce:
1. Start a RHEL7.4/7.5/Win2016 guest.
2. After the linux guest boots up, try to input characters '|' and '<'.
3. After the windows guest boots up, try to input characters '<' and '>'.
In step 2, the outputs are both '>'.
In step 3, the outputs are both '|'.
The outputs are the correct ones.
Please note the bug only occurs when connect the guest through vnc, while no the issue when connect it through spice.
No the bug problem on rhel7.4z qemu version qemu-kvm-rhev-2.9.0-16.el7_4.12.x86_64, so set the bug as regression.
In grub of the linux guest, '<' and '>' are recognized as '|' just like that for windows guest.
Seems this issue is introduced by Bug 1503128 - update reverse keymaps for qemu vnc server.
Test against qemu-kvm-rhev-2.10.0-4.el7.x86_64,no such issue happen.
Test against qemu-kvm-rhev-2.10.0-5.el7.x86_64, issue happens.
Test against qemu-img-rhev-2.10.0-11.el7.x86_64 from my part, issue only can be reproduced by vncviewer and cannot be reproduced with remote-viewer
*** Bug 1525436 has been marked as a duplicate of this bug. ***
*** Bug 1534310 has been marked as a duplicate of this bug. ***
Fix included in qemu-kvm-rhev-2.10.0-19.el7
Test against qemu-kvm-rhev-2.10.0-19.el7.x86_64
vncviewer and remote-viewer
1.Boot guest with qemu cli:
/usr/libexec/qemu-kvm -name input-test -m 4G \
-cpu EPYC,enforce \
-smp 2 \
-netdev tap,id=idinWyYp,vhost=on -device e1000,mac=42:ce:a9:d2:4d:d7,id=idlbq7eA,netdev=idinWyYp \
-uuid 215e11b2-a869-41b5-91cd-6a32a907be7e \
-device ich9-usb-uhci6 \
-device ide-drive,drive=drive-scsi-disk0 \
-qmp unix:/tmp/input-port,server,nowait \
-monitor stdio \
-vnc :0 \
-serial unix:/tmp/console,server,nowait \
2. Connect desktop via vncviewer/remote-viewer, open a text editor and input | < >
On rhel7.5 guest, characters displayed in text editor is same as the input
Test result against windows 2016 guest is same as rhel7.5 guest
Verified per comment 12
this issue can not reproduced on rhel7.5 rc3
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.