Red Hat Bugzilla – Bug 217554
Xen HVM: cannot input capital letters using qemu VNC console
Last modified: 2009-06-19 06:12:46 EDT
Description of problem:
When creating a HVM guest under xen it is possible to switch to the qemu monitor
display to configure aspects of the HVM. If using VNC for graphics support all
characters input are transformed to lowercase.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure a HVM guest with vnc graphics enabled:
2. Create the domain via "xm create <domain>"
3. Attach to the domain's console using vncviewer
4. Switch to the qemu monitor with ctrl-alt-2
5. Enter some mixed case characters at the console
All input characters are displayed in lowercase.
Characters maintain the proper casing.
The reporter noticed this using virt-manager which always uses VNC to talk to
guest domains but the same problem exists for any domain created using VNC. SDL
domains are not affected.
I have confirmed this happens both with normal VNC Viewer & virt-manager, so it
looks like an problem with way QEMU is interpretting the keycodes sent, rather
than the client program.
Created attachment 142339 [details]
Prototype patch to fix entering of uppercase letters
This patch fixes entering of uppercase letters. Has been sent upstream for
Fix is now accepted upstream
Without this patch, people trying to use the HVM console to map in an alternate
CDROM image will need to rename their ISO images to be all lowercase :-(
QE ack for RHEL5.
Created attachment 142575 [details]
Patch to fix uppercase handling
This is the final patch version which went upstream. Slightly changed to take
acocunt of fact that its impossible to ever receive an uppercase in first
place, so no need to handle conversion back to lowercase for them.