On Thu, Oct 09, 2008 at 06:57:41PM +0100, Daniel P. Berrange wrote: > On Thu, Oct 09, 2008 at 11:24:47AM -0400, Ben Guthro wrote: > > This test app prints domain events as they are emitted. > > I was not sure where it belonged in the tree - so this is > > not in the context of the rest of the libvirt tree > > Since it relies on host OS state, its not relaly something we can > reliably integrate into the unit tests. So perhaps we should have > a 'demos' directory to put this in. Its certainly useful for both > us debugging the drivers, and for developers wanting a simple > example of using events. Maybe using the test driver in a program, driven by a sequence of changes provided as a separate input would allow to do regressions on some of the event code, but I'm afraid it will be only a small fraction of the code actually used (since the core is really the remote handling from within libvirtd and the remote driver). 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