Add virtkey lib for usage-improvment and keycode translating.
Expose send-key in virsh
Implement send-key function for the qemu driver
Lai Jiangshan (3):
lib: 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 | 3 +-
src/libvirt_private.syms | 5 +
src/qemu/qemu_driver.c | 51 ++++
src/qemu/qemu_monitor.c | 37 +++
src/qemu/qemu_monitor.h | 6 +
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/virtkey.c | 633 ++++++++++++++++++++++++++++++++++++++++++
src/util/virtkey.h | 21 ++
tools/virsh.c | 94 +++++++
tools/virsh.pod | 4 +
14 files changed, 933 insertions(+), 1 deletions(-)
create mode 100644 src/util/virtkey.c
create mode 100644 src/util/virtkey.h
--
1.7.4.4