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

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

 



On 07/12/2012 09:45 AM, Guannan Ren wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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