[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 00/10 V2] Add support for send keys to guest



CC: Daniel

Hey guys, any comments about this revision?

Gui

Lai Jiangshan wrote:
> Add API virDomainSendKey() and virsh send-key command.
> 
> PATCH 01~04 prepare
> PATCH 05~10 Add support for send keys to guest
> 
> Python version of virDomainSendKey() has not been implemented yet,
> it will be done soon.
> 
> Some usage-improvment patches will be sent later(after these 10 are applied)
> these usage-improvment patches does not touch any APIs
> nor change the behaviors:
>    support KEY_XXX names for the linux keycode for virsh command(auto detect),
>    translate keycodes between different codesets,
>    ...etc.
> 
> 
> Lai Jiangshan (10):
>   allow name for VSH_OT_ARGV options
>   improve the iteration of VSH_OT_ARGV options
>   add VSH_OFLAG_REQ_OPT options
>   remote generator: Handle (unsigned) int arrays
>   send-key: Defining the public API
>   send-key: Defining the internal API
>   send-key: Implementing the public API
>   send-key: Implementing the remote protocol
>   send-key: Expose the new API in virsh
>   qemu:send-key: Implement the driver methods
> 
>  daemon/remote_generator.pl   |   17 ++++
>  include/libvirt/libvirt.h.in |    7 ++
>  include/libvirt/virtkeys.h   |   22 +++++
>  python/generator.py          |    1 +
>  src/driver.h                 |    8 ++
>  src/libvirt.c                |   63 +++++++++++++++
>  src/libvirt_public.syms      |    5 +
>  src/qemu/qemu_driver.c       |   50 ++++++++++++
>  src/qemu/qemu_monitor.c      |   27 +++++++
>  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 |   47 +++++++++++
>  src/qemu/qemu_monitor_text.h |    5 +
>  src/remote/remote_driver.c   |    1 +
>  src/remote/remote_protocol.x |   16 ++++-
>  src/remote_protocol-structs  |   11 +++
>  tools/virsh.c                |  175 +++++++++++++++++++++++++++++++++++-------
>  tools/virsh.pod              |    4 +
>  19 files changed, 455 insertions(+), 30 deletions(-)
>  create mode 100644 include/libvirt/virtkeys.h
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]