QEMU added a qmp command input-send-event that is more precise about
what the outcome for the guest is; it can control particular events as
press/release of a key, button, move of a pointer, etc.
This series is still waiting for two patches [1] from Amos Kong to be
applied before it can be used and will not be pushed until that change
is in upstream QEMU.
Martin
[1]
https://lists.gnu.org/archive/html/qemu-devel/2014-11/msg01187.html
Martin Kletzander (3):
qemu: Add capability probing for 'imput-send-event' qmp command
util: Add virKeycodeValueIsModifier function
qemu: Improve qemuMonitorJSONSendKey function
src/libvirt_private.syms | 1 +
src/qemu/qemu_capabilities.c | 3 +
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_driver.c | 4 +-
src/qemu/qemu_monitor.c | 6 +-
src/qemu/qemu_monitor.h | 3 +-
src/qemu/qemu_monitor_json.c | 142 ++++++++++++++++++++++++++++++++++++-------
src/qemu/qemu_monitor_json.h | 3 +-
src/util/virkeycode.c | 21 +++++++
src/util/virkeycode.h | 2 +
tests/qemumonitorjsontest.c | 72 ++++++++++++++++++++--
11 files changed, 226 insertions(+), 32 deletions(-)
--
2.1.3