Add virtkey lib for usage-improvment and keycode translating.
Expose send-key in virsh
Implement send-key function for the qemu driver
Daniel P. Berrange (1):
util: Add keymaps.csv
Lai Jiangshan (3):
util: add virtkey
send-key: Expose the new API in virsh
qemu:send-key: Implement the driver methods
include/libvirt/libvirt.h.in | 6 +
src/Makefile.am | 14 +-
src/libvirt_private.syms | 5 +
src/qemu/qemu_driver.c | 71 +++++++
src/qemu/qemu_monitor.c | 17 ++
src/qemu/qemu_monitor.h | 5 +
src/qemu/qemu_monitor_json.c | 15 ++
src/qemu/qemu_monitor_json.h | 5 +
src/qemu/qemu_monitor_text.c | 49 +++++
src/qemu/qemu_monitor_text.h | 5 +
src/util/keymaps.csv | 463 +++++++++++++++++++++++++++++++++++++++++
src/util/virkey.c | 145 +++++++++++++
src/util/virkeycode-mapgen.py | 45 ++++
src/util/virkeycode.h | 35 +++
tools/virsh.c | 94 +++++++++
tools/virsh.pod | 4 +
16 files changed, 976 insertions(+), 2 deletions(-)
create mode 100644 src/util/keymaps.csv
create mode 100644 src/util/virkey.c
create mode 100644 src/util/virkeycode-mapgen.py
create mode 100644 src/util/virkeycode.h
--
1.7.4.4