[libvirt] [PATCH 03/13] Refactor domain events to handle multiple event types