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 | 8 +
src/Makefile.am | 11 +-
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/virtkey.c | 117 +++++++++++
src/util/virtkey.h | 41 ++++
src/util/virtkeymap-gen.py | 47 +++++
tools/virsh.c | 94 +++++++++
tools/virsh.pod | 4 +
16 files changed, 956 insertions(+), 1 deletions(-)
create mode 100644 src/util/keymaps.csv
create mode 100644 src/util/virtkey.c
create mode 100644 src/util/virtkey.h
create mode 100644 src/util/virtkeymap-gen.py
--
1.7.4.4