From: Keir Fraser <keir@xensource.com>
To: Guillaume Rousse <Guillaume.Rousse@inria.fr>,
xen-devel@lists.xensource.com
Subject: Re: [PATCH] Configurable keyboard mapping for HVM
Date: Mon, 18 Dec 2006 11:26:40 +0000 [thread overview]
Message-ID: <C1AC2B70.63DF%keir@xensource.com> (raw)
In-Reply-To: <4586721E.1070902@inria.fr>
What happens here if 'keyboard' is undefined in the s-expression?
-- Keir
On 18/12/06 10:49, "Guillaume Rousse" <Guillaume.Rousse@inria.fr> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2006-12-18 11:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 10:49 [PATCH] Configurable keyboard mapping for HVM Guillaume Rousse
2006-12-18 11:26 ` Keir Fraser [this message]
2006-12-18 12:10 ` Guillaume Rousse
2006-12-18 11:45 ` Ewan Mellor
2006-12-19 4:28 ` Kasai Takanori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1AC2B70.63DF%keir@xensource.com \
--to=keir@xensource.com \
--cc=Guillaume.Rousse@inria.fr \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.