[libvirt] [PATCH 6/7] qemu: snapshot: Refactor event creation when reverting snapshots