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

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

 



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
> 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]