libvirt/examples
Daniel P. Berrange 7ed6d7dda7 Define public API for receiving guest memory balloon events
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

* include/libvirt/libvirt.h.in: Define the
  virConnectDomainEventBalloonChangeCallback callback
  and VIR_DOMAIN_EVENT_ID_BALLOON_CHANGE constant
* python/libvirt-override-virConnect.py,
  python/libvirt-override.c: Wire up helpers for new event
* daemon/remote.c: Helper for serializing balloon event
* examples/domain-events/events-c/event-test.c,
  examples/domain-events/events-python/event-test.py: Add
  example of balloon event usage
* src/conf/domain_event.c, src/conf/domain_event.h: Handling
  of balloon events
* src/remote/remote_driver.c: Add handler of balloon events
* src/remote/remote_protocol.x: Define wire protocol for
  balloon events
* src/remote_protocol-structs: Likewise.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-07-14 16:02:26 +08:00
..
apparmor maint: add missing copyright notices 2011-07-28 15:01:17 -06:00
domain-events Define public API for receiving guest memory balloon events 2012-07-14 16:02:26 +08:00
dominfo Cleanup for a return statement in source files 2012-03-26 14:45:22 -06:00
domsuspend Cleanup for a return statement in source files 2012-03-26 14:45:22 -06:00
hellolibvirt maint: consolidate several .gitignore files 2012-02-03 15:27:16 -07:00
openauth maint: consolidate several .gitignore files 2012-02-03 15:27:16 -07:00
python examples: add consolecallback example python script 2012-05-29 16:54:12 -06:00
systemtap Permission change for systemtap examples. 2012-01-17 15:42:01 -07:00
xml Revert "Refactor the libvirt RPM daemon pieces" 2012-04-03 14:49:31 +08:00