[libvirt] getting notified of events

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

 



I am trying to understand how to use the virEvent* API.
I've built latest libvirt (with "Fix emission of domain events messages"
commit) and run the domain-events example.

events-c gives me mostly silence. nothing is printed when a domain
changes state.

events-python is more bizarre: it prints a line on every event - except
for the first one, where "Updating Timeout 0 0
Poll sleep 1" is printed. Only when the second event occurs, does the
callback for the first event gets executed.

What am I missing?
Could someone more familiar take a look?

Regards,

Dan.

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