[libvirt] [PATCH 5/7] Associate a dispatch function with the event objects