Bug 533707 - virt-install does not set graphical console keymap automatically for Xen guests
Summary: virt-install does not set graphical console keymap automatically for Xen guests
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: 12
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F12VirtTarget
TreeView+ depends on / blocked
Reported: 2009-11-08 17:17 UTC by Pasi Karkkainen
Modified: 2010-01-04 20:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-01-04 20:05:44 UTC
Type: ---

Attachments (Terms of Use)

Description Pasi Karkkainen 2009-11-08 17:17:02 UTC
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):

How reproducible:

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.
Actual results:
keymap not configured automatically. User needs to do "virsh edit <guest>" and set up the keymap='xx' parameter.

Expected results:
keymap set up automatically, like in RHEL5 version of virt-install/virt-manager.

Additional info:
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'/>

Comment 1 Mark McLoughlin 2009-11-19 12:32:16 UTC
discussed on fedora-xen and danpb reckons that xen's qemu should be new enough to not need an explicit keymap:


Comment 2 Pasi Karkkainen 2009-11-19 12:50:57 UTC
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?

Comment 3 Cole Robinson 2009-12-02 03:19:11 UTC
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.

Comment 4 Fedora Update System 2009-12-03 23:44:58 UTC
python-virtinst-0.500.1-1.fc12 has been submitted as an update for Fedora 12.

Comment 5 Fedora Update System 2009-12-05 00:06:57 UTC
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

Comment 6 Pasi Karkkainen 2009-12-05 13:55:07 UTC
I just tried python-virtinst-0.500.1-1.fc12 and it fixes the problem! vfb keymap gets added automatically now.


Comment 7 Cole Robinson 2010-01-04 20:05:44 UTC
Fixed in python-virtinst-0.500.1-2.fc12, now in stable.

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