On Wed, Apr 07, 2010 at 06:37:46PM +0100, Daniel P. Berrange wrote: > The generator was disabled for the new event callbacks, since they > need to be hand written. This patch adds the C and python glue to > expose the new APIs in the python binding. The python example > program is extended to demonstrate of the code > > * python/libvirt-override.c: Registration and dispatch of events > at the C layer > * python/libvirt-override-virConnect.py: Python glue for events > * examples/domain-events/events-python/event-test.py: Demo use > of new event callbacks > --- > examples/domain-events/events-python/event-test.py | 22 +- > python/libvirt-override-virConnect.py | 45 ++ > python/libvirt-override.c | 451 ++++++++++++++++++++ > 3 files changed, 517 insertions(+), 1 deletions(-) Argh, right, unfortunately I don't see how all the events could be generated automatically, ACK Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list