Skip to content

Qemu support for multiple keyboard devices

Dmitry Zhurikhin qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest2 patches 0 repliesNew

Changes in v6 from the cover letter

- merge with commit 57aa265d462a64a06268be26d49020729cff56c1
- moved changes from usb-hid.c and qemu_activate_keyboard_event_handler function to the first patch as more appropriate
- changed some keyboard names to be more consistent
- added 'info keyboard' to the 'info subcommand' documentation chapter
- fixed an 'avoid assignment of zero to static variable' warning by 'scripts/checkpatch.pl'

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Support for multiple keyboard devicesconsole.h hw/adb.c hw/escc.c +11 more+90 -330 replies
2/2Two new monitor commands: 'info keyboard', 'keyboard_set'console.h hmp-commands.hx input.c +1 more+137 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [Qemu-devel] [PATCH 0/2 v6] Qemu support for multiple keyboard devices

v6 (Dmitry Zhurikhin <[email protected]>):
- merge with commit 57aa265d462a64a06268be26d49020729cff56c1
- moved changes from usb-hid.c and qemu_activate_keyboard_event_handler function to the first patch as more appropriate
- changed some keyboard names to be more consistent
- added 'info keyboard' to the 'info subcommand' documentation chapter
- fixed an 'avoid assignment of zero to static variable' warning by 'scripts/checkpatch.pl'

Qemu support for multiple keyboard devices:
Patch #1
Adding keyboard is done to the queue instead of "last added keyboard wins", when removing keyboard via device_del - previous keyboard is selected.

Patch #2
Adding 2 new monitor commands to handle keyboard list:
'info keyboard' - show all keyboard devices and mark the current one 'keyboard_set' - set active keyboard by index as displayed by 'info keyboard'

Shahar Havivi (2):
Support for multiple keyboard devices
Two new monitor commands: 'info keyboard', 'keyboard_set'

 console.h            |   20 +++++-
 hmp-commands.hx      |   20 ++++++
 hw/adb.c             |    2 +-
 hw/escc.c            |    3 +-
 hw/musicpal.c        |    2 +-
 hw/nseries.c         |    4 +-
 hw/palm.c            |    2 +-
 hw/ps2.c             |    2 +-
 hw/pxa2xx_keypad.c   |    3 +-
 hw/spitz.c           |    3 +-
 hw/stellaris_input.c |    3 +-
 hw/syborg_keyboard.c |    3 +-
 hw/usb-hid.c         |   12 +++-
 hw/xenfb.c           |    5 +-
 input.c              |  168 +++++++++++++++++++++++++++++++++++++++++++++-----
 monitor.c            |    8 +++
 16 files changed, 227 insertions(+), 33 deletions(-)