[libvirt] [PATCH 12/18] event-test: make domain event registration declarative