All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v2 0/6] Support to change VNC keyboard layout dynamically
@ 2014-12-03  6:55 arei.gonglei
  2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 1/6] vnc: introduce vnc_display_kbd_layout function arei.gonglei
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: arei.gonglei @ 2014-12-03  6:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: weidong.huang, peter.huangpeng, lcapitulino, Gonglei, kraxel

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 a new QMP command:
    -> { "execute": "change-vnc-kbd-layout",
                    "arguments": { "keymap": "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>
Cc: Eric Blake <eblake@redhat.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>

v1 -> v2:
 - introduce a new QMP command for changing keyboard layout.(Eric)
 - add corresponding HMP command in patch 3
 - fix typo about change-vnc-password in patch 4
 - formating coding style of keymaps.c patch 5
 - keymaps.c convert fprintf to qerror_report in patch 6

Gonglei (6):
  vnc: introduce vnc_display_kbd_layout function
  vnc: add a new QMP command for changing keyboard layout
  vnc: HMP change-vnc-kbd-layout wrapper
  qapi-schema: fix typo about change-vnc-password
  keymaps: correct keymaps.c following Qemu coding style
  keymaps: convert fprintf to qerror_report

 hmp-commands.hx      |  15 ++++
 hmp.c                |   9 +++
 hmp.h                |   1 +
 include/ui/console.h |   5 ++
 qapi-schema.json     |  19 ++++-
 qmp-commands.hx      |  23 ++++++
 qmp.c                |  13 ++++
 ui/keymaps.c         | 198 ++++++++++++++++++++++++++++-----------------------
 ui/vnc.c             |  21 ++++++
 9 files changed, 215 insertions(+), 89 deletions(-)

-- 
1.7.12.4

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

end of thread, other threads:[~2014-12-04 12:16 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-03  6:55 [Qemu-devel] [RFC PATCH v2 0/6] Support to change VNC keyboard layout dynamically arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 1/6] vnc: introduce vnc_display_kbd_layout function arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 2/6] vnc: add a new QMP command for changing keyboard layout arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 3/6] vnc: HMP change-vnc-kbd-layout wrapper arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 4/6] qapi-schema: fix typo about change-vnc-password arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 5/6] keymaps: correct keymaps.c following Qemu coding style arei.gonglei
2014-12-03  6:55 ` [Qemu-devel] [RFC PATCH v2 6/6] keymaps: convert fprintf to qerror_report arei.gonglei
2014-12-03  9:38 ` [Qemu-devel] [RFC PATCH v2 0/6] Support to change VNC keyboard layout dynamically Daniel P. Berrange
2014-12-03  9:50   ` Gonglei
2014-12-03  9:54     ` Daniel P. Berrange
2014-12-03 10:04       ` Gonglei
2014-12-03 12:10     ` Gerd Hoffmann
2014-12-04  2:32       ` Gonglei
2014-12-04  8:47         ` Gerd Hoffmann
2014-12-04  9:46           ` Gonglei
2014-12-04  9:53             ` Daniel P. Berrange
2014-12-04 10:18               ` Gonglei
2014-12-04 12:07               ` Gonglei
2014-12-04 12:10                 ` Daniel P. Berrange
2014-12-04 12:16                   ` Gonglei

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.