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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM

To: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: 2006年12月18日 11:26:40 +0000
Delivery-date: 2006年12月18日 03:26:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4586721E.1070902@xxxxxxxx>
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
Thread-index: Accil2MEobdMCo6KEduTTAAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM
User-agent: Microsoft-Entourage/11.2.5.060620
What happens here if 'keyboard' is undefined in the s-expression?
 -- Keir
On 18/12/06 10:49, "Guillaume Rousse" <Guillaume.Rousse@xxxxxxxx> wrote:
> Current keyboard mapping is hardcoded to en-US in image.py. Attached
> patch make this value a configurable option.
> diff -Naur xen-3.0.3_0-src/tools/python/xen/xend/image.py
> xen-3.0.3_0-src.allow_keyboard_mapping/tools/python/xen/xend/image.py
> --- xen-3.0.3_0-src/tools/python/xen/xend/image.py 2006年10月15日
> 14:22:03.000000000 +0200
> +++ 
> xen-3.0.3_0-src.allow_keyboard_mapping/tools/python/xen/xend/image.py 2006-12-
> 18 11:45:22.000000000 +0100
> @@ -361,11 +361,12 @@
> vncdisplay = sxp.child_value(config, 'vncdisplay',
> int(self.vm.getDomid()))
> vncunused = sxp.child_value(config, 'vncunused')
> + keyboard = sxp.child_value(config, 'keyboard')
> if vncunused:
> ret += ['-vncunused']
> else:
> ret += ['-vnc', '%d' % vncdisplay]
> - ret += ['-k', 'en-us']
> + ret += ['-k', keyboard]
> vnclisten = sxp.child_value(config, 'vnclisten')
> if not(vnclisten):
> vnclisten =
> xen.xend.XendRoot.instance().get_vnclisten_address()
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Question about evtchn_callback reentry , Keir Fraser
Next by Date: Re: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM , Ewan Mellor
Previous by Thread: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM , Guillaume Rousse
Next by Thread: Re: [Xen-devel] [PATCH] Configurable keyboard mapping for HVM , Guillaume Rousse
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /