qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/2] Support to change VNC keyboard layout dynamically
@ 2014-11-29 10:39 arei.gonglei
  2014-11-29 10:39 ` [Qemu-devel] [RFC PATCH 1/2] vnc: introduce vnc_display_kbd_layout function arei.gonglei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: arei.gonglei @ 2014-11-29 10:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gonglei, weidong.huang, kraxel, peter.huangpeng

From: Gonglei <arei.gonglei@huawei.com>

A bonus of this feature is that supporting different
people (in different countries) using defferent keyboard
to connect the same guest but not need to configure
command line or libivrt xml file then restart guest.

Using the existing qmp command:

    -> { "execute": "change",
                 "arguments": { "device": "vnc", "target": "keymap",
                                "arg": "de" } }
    <- { "return": {} }

I knew sdl and curses are using keyboard layout, but I don't know
whether they both need to support this feature and add some new
qmp command for them?

If you have some ideas, please let me know. Thanks!

NOTE:
 The patch series based on Gerd's vnc-next tree:
https://www.kraxel.org/cgit/qemu/log/?h=rebase/ui-vnc-next

Cc: Gerd Hoffmann <kraxel@redhat.com>

Gonglei (2):
  vnc: introduce vnc_display_kbd_layout function
  vnc: add change keyboard layout interface

 include/ui/console.h |  5 +++++
 qapi-schema.json     |  8 +++++---
 qmp.c                | 17 +++++++++++++++++
 ui/vnc.c             | 21 +++++++++++++++++++++
 4 files changed, 48 insertions(+), 3 deletions(-)

-- 
1.7.12.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-02  1:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29 10:39 [Qemu-devel] [RFC PATCH 0/2] Support to change VNC keyboard layout dynamically arei.gonglei
2014-11-29 10:39 ` [Qemu-devel] [RFC PATCH 1/2] vnc: introduce vnc_display_kbd_layout function arei.gonglei
2014-11-29 10:39 ` [Qemu-devel] [RFC PATCH 2/2] vnc: add change keyboard layout interface arei.gonglei
2014-12-01 16:40   ` Eric Blake
2014-12-02  1:48     ` Gonglei
2014-12-01 16:37 ` [Qemu-devel] [RFC PATCH 0/2] Support to change VNC keyboard layout dynamically Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).