Re: [PATCHv2 3/5] event: Add guest agent lifecycle event

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

 



On Fri, Nov 21, 2014 at 16:29:53 +0100, Peter Krempa wrote:
> As qemu is now able to notify us about change of the channel state used
> for communication with the guest agent we now can more precisely track
> the state of the guest agent.
> 
> To allow notifying management apps this patch implements a new event
> that will be triggered on changes of the guest agent state.
> ---
> 
> Notes:
>     Version 2:
>     - add more reasons
>     - tweak enum and enum member names
> 
>  daemon/remote.c                  | 36 +++++++++++++++++++
>  include/libvirt/libvirt-domain.h | 41 +++++++++++++++++++++
>  src/conf/domain_event.c          | 78 ++++++++++++++++++++++++++++++++++++++++
>  src/conf/domain_event.h          |  9 +++++
>  src/libvirt_private.syms         |  2 ++
>  src/remote/remote_driver.c       | 31 ++++++++++++++++
>  src/remote/remote_protocol.x     | 16 ++++++++-
>  src/remote_protocol-structs      |  7 ++++
>  tools/virsh-domain.c             | 39 ++++++++++++++++++++
>  9 files changed, 258 insertions(+), 1 deletion(-)

ACK, although I think we should try to generate more event handling
code.

Jirka

--
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]