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.
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 review....
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 :-(
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.