Red Hat Bugzilla – Bug 533707
virt-install does not set graphical console keymap automatically for Xen guests
Last modified: 2010-01-04 15:05:44 EST
Description of problem:
virt-install and virt-manager don't set up the guest graphical console keymap making it really difficult to use the console after installation. User needs to manually edit the guest configuration, and specify the keymap.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 12 (rawhide) Xen dom0 host
2. Install new Xen PV guest with virt-manager or virt-install
3. After installation guest graphical console keymap is not set up automatically, user needs to configure it manually.
keymap not configured automatically. User needs to do "virsh edit <guest>" and set up the keymap='xx' parameter.
keymap set up automatically, like in RHEL5 version of virt-install/virt-manager.
After installation guest configuration (virsh dumpxml <guest>) has this:
<graphics type='vnc' port='5901' autoport='yes'/>
it should be (example from RHEL5 version):
<graphics type='vnc' port='5900' autoport='yes' keymap='fi'/>
discussed on fedora-xen and danpb reckons that xen's qemu should be new enough to not need an explicit keymap:
my reply to that:
is this a bug in virt-viewer then? ie. virt-viewer not using the vnc extension to set up the keymap?
I'm using virt-viewer to use the console (or just virt-manager), and the console keymap is wrong until I do "virsh edit <guest>" and specify the keymap there.
Thoughts on that?
For whatever reason, xen must not be using new enough code, or have the relevant pieces disabled.
Upstream virtinst now is more discerning when setting (or not setting) a keymap: it will only omit the keymap for sufficiently new qemu. So xen should default to the old behavior of determining the keymap from the local setting.
python-virtinst-0.500.1-1.fc12 has been submitted as an update for Fedora 12.
python-virtinst-0.500.1-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update python-virtinst'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12746
I just tried python-virtinst-0.500.1-1.fc12 and it fixes the problem! vfb keymap gets added automatically now.
Fixed in python-virtinst-0.500.1-2.fc12, now in stable.