|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Configurable keyboard mapping for HVM
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Configurable keyboard mapping for HVM,
Guillaume Rousse <=
|
|
|
|
|