
On 01/02/2012 04:52 PM, Eduardo Lima (Etrunko) wrote:
From: Eduardo Lima (Etrunko) <eblima@br.ibm.com>
Port current implementation to use domain events implementation provided by libvirt. It requires libvirt version 0.9.0 or newer, when the virEventRegisterDefaultImpl and virEventRunDefaultImpl API's were introduced.
Now that all events are generated by libvirt itself, we don't need to trigger them manually anymore. Thus, this patch also removes trigger and raise calls from VirtualSystemManagementService and ComputerSystem providers.
Differences from v1: - Move call to virRegisterDefaultImpl() to the provider code with protection to ensure it is called only once. - Call CBDetachThread() before exiting the lifecycle thread.
This version looks much more stable than the first one. I have run the full cimtest suite many times, but it still looks like it interferes with the ElementConforms group. -- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com