'LibVirt API creation event

Are there any ways to detect creation of new virtual machines via LibVirt API (C/C++)? I cannot find the event on the list of events. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source