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

Re: [libvirt] [PATCH 1/2] Define public API for receiving guest memory balloon events



On 07/12/2012 09:45 AM, Guannan Ren wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> When the guest changes its memory balloon applications may want
> to know what the new value is, without having to periodically
> poll on XML / domain info. Introduce a "balloon change" event
> to let apps see this
> 

>  daemon/remote.c                                    |   28 +++++++++++
>  examples/domain-events/events-c/event-test.c       |   43 +++++++++++++----
>  examples/domain-events/events-python/event-test.py |    3 +
>  include/libvirt/libvirt.h.in                       |   17 +++++++
>  python/libvirt-override-virConnect.py              |    9 ++++
>  python/libvirt-override.c                          |   50 ++++++++++++++++++++
>  src/conf/domain_event.c                            |   35 ++++++++++++++
>  src/conf/domain_event.h                            |    3 +
>  src/libvirt_private.syms                           |    2 +
>  src/remote/remote_driver.c                         |   31 ++++++++++++
>  src/remote/remote_protocol.x                       |    9 +++-

Oh, one other thing - you'll need to regenerate src/remote_protocol-structs.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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