--- libvirt-0.9.2/src/conf/domain_event.c 2011-06-06 02:15:12.000000000 +0200 +++ libvirt-0.9.2-own/src/conf/domain_event.c 2011-06-29 14:01:15.000000000 +0200 @@ -362,6 +362,7 @@ for (i = 0 ; i < cbList->count ; i++) { if (cbList->callbacks[i]->cb == VIR_DOMAIN_EVENT_CALLBACK(callback) && cbList->callbacks[i]->eventID == VIR_DOMAIN_EVENT_ID_LIFECYCLE && + (!cbList->callbacks[i]->dom || !dom || memcmp(dom->uuid, cbList->callbacks[i]->dom->uuid, VIR_UUID_BUFLEN) == 0) && cbList->callbacks[i]->conn == conn) { eventReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("event callback already tracked"));