[et-mgmt-tools] [PATCH][RFC] Add --keymap option to virt-install

Takahashi Tomohiro takatom at jp.fujitsu.com
Fri Mar 9 01:20:14 UTC 2007


Hi, Dan

Thank you for committing a patch.

I confirmed that I can use jp106 keyboard on HVM domain with virt-install
and Error(KeyError: 'keymap') didn't happen with virt-manager.
when I used latest patch(changeset 117).

We also think it's automatically pick the correct keymap based on the X 
keymap.
So, I intend to inquire into how to pick the correct keymap by Python.
Please tell me how to pick the correct keymap by Python. if you know it.

Thanks,
Tomohiro Takahashi.

> On Thu, Mar 08, 2007 at 09:14:19PM +0900, Takahashi Tomohiro wrote:
>> Hi,
>>
>> Previously I tested keymap patch on virt-inst which was already posted.
>> Today I test the patch on virt-manager.Then I found a bug.
>> This patch fixes this problem.
>>
>> I would like to post an update patch. Because I caught a bug in keymap 
>> patch
>> that I had posted on March 6. Errors did happen, when I used 
>> virt-manager.
>> Because It doesn't have a function for keymap.
>
> Hmm, now that we have this virt-install patch, we'll need some way to let
> people set the keymap from virt-manager too. I imagine we could add some
> user preference to the 'Preferences' dialog box, either a plain text box
> where they can enter a keymap, or perhaps a drop down list pre-populated
> with all keymaps. Unless there is some way to automatically pick the
> correct keymap based on the X keymap - but i don't think we get get at
> that info any way.
>
>> virtmanager does not have keymap setting function.
>> So I add a check "keymap" exists or not.
>
> Applied this updated patch to virt-install HG repo now..
>
> http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=660a6db5a4be
>
> Regards,
> Dan.
> -- 
> |=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 
> 2496 -=|
> |=-           Perl modules: 
> .cpan.org/~danberr/              -=|
> |=-               Projects: 
> at.net/~danielpb/               -=|
> |=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 
> 505  -=|
> 





More information about the et-mgmt-tools mailing list