Bug 217554 - Xen HVM: cannot input capital letters using qemu VNC console
Summary: Xen HVM: cannot input capital letters using qemu VNC console
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Xen Maintainance List
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2006-11-28 16:27 UTC by Bryn M. Reeves
Modified: 2009-06-19 10:12 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-12-21 12:29:56 UTC

Attachments (Terms of Use)
Prototype patch to fix entering of uppercase letters (1.74 KB, patch)
2006-11-28 22:58 UTC, Daniel Berrange
no flags Details | Diff
Patch to fix uppercase handling (1.70 KB, patch)
2006-12-01 15:28 UTC, Daniel Berrange
no flags Details | Diff

Description Bryn M. Reeves 2006-11-28 16:27:02 UTC
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):

How reproducible:

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

Actual results:
All input characters are displayed in lowercase.

Expected results:
Characters maintain the proper casing.

Additional info:
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.

Comment 1 Daniel Berrange 2006-11-28 17:48:04 UTC
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.

Comment 2 Daniel Berrange 2006-11-28 22:58:25 UTC
Created attachment 142339 [details]
Prototype patch to fix entering of uppercase letters

This patch fixes entering of uppercase letters. Has been sent upstream for

Comment 3 Daniel Berrange 2006-12-01 13:53:41 UTC
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 :-(

Comment 4 Jay Turner 2006-12-01 14:26:17 UTC
QE ack for RHEL5.

Comment 6 Daniel Berrange 2006-12-01 15:28:52 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.