Bug 217554 - Xen HVM: cannot input capital letters using qemu VNC console
Summary: Xen HVM: cannot input capital letters using qemu VNC console
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Xen Maintainance List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
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)

Fixed In Version: 5.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-21 12:29:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Prototype patch to fix entering of uppercase letters (1.74 KB, patch)
2006-11-28 22:58 UTC, Daniel Berrangé
no flags Details | Diff
Patch to fix uppercase handling (1.70 KB, patch)
2006-12-01 15:28 UTC, Daniel Berrangé
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):
xen-3.0.3-8.el5

How reproducible:
100%

Steps to Reproduce:
1. Configure a HVM guest with vnc graphics enabled:
   builder="hvm"
   ...
   vnc=1
   ...
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 Berrangé 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 Berrangé 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
review....

Comment 3 Daniel Berrangé 2006-12-01 13:53:41 UTC
Fix is now accepted upstream

http://xenbits.xensource.com/xen-unstable.hg?cs=582d21e2d3cd

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 Berrangé 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.