[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Add to select keyboard layout



Hi all,

We were testing on VTx domain.
I found the keyboard used for HVM Domain(VTx and VTi) is not able to selected.
Because we can't use japanese keyboard(106) on Xen.
This patch solve this problem.

To select the keymap, configuration file is defined as follows.
 keymap='ja'

The input keymap is input as an option of qemu-dm.
 qemu-dm -k ja

The configuration of the default keymap was deleted.
Because default keymap is en-us in qemu-dm,
it is not necessary to specify option.

/tools/ioemu/vnc.c
-------
1328 int vnc_display_init(DisplayState *ds, int display, int find_unused, struct sockaddr_in *addr)
  1329 {
  ....
  1345     if (!keyboard_layout)
  1346         keyboard_layout = "en-us";


The part of XenAPI was added referring to other options.
If there is any problem, please let me know.

Best regards,
Takanori Kasai

Attachment: select_keymap.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.