qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 0/2] Support to change VNC keyboard layout dynam


From: arei.gonglei
Subject: [Qemu-devel] [RFC PATCH 0/2] Support to change VNC keyboard layout dynamically
Date: Sat, 29 Nov 2014 18:39:40 +0800

From: Gonglei <address@hidden>

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 <address@hidden>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]