WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Add to select keyboard layout
From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
Date: Thu, 16 Nov 2006 21:30:32 +0900
Delivery-date: Thu, 16 Nov 2006 04:31:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>