[libvirt] [PATCH 1/2] Define public API for receiving guest memory balloon events
Eric Blake
eblake at redhat.com
Thu Jul 12 20:39:27 UTC 2012
On 07/12/2012 09:45 AM, Guannan Ren wrote:
> From: "Daniel P. Berrange" <berrange at 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 at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120712/f357c7a6/attachment-0001.sig>
More information about the libvir-list
mailing list