• Eduardo Lima (Etrunko)'s avatar
    ComputerSystemIndication: Support libvirt domain events · 46797e06
    Eduardo Lima (Etrunko) authored
    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.
    Signed-off-by: 's avatarEduardo Lima (Etrunko) <eblima@br.ibm.com>
acinclude.m4 8.4 KB