[libvirt] PATCH: Misc fixes to events code