'Register a callback to receive events.
Register a callback to receive asynchronous event
notifications from hypervisors. The callback will
be invoked with a single parameter, which will be
an instance of the nova.virt.event.Event class.'

def register_event_listener(self, callback):

    self._compute_event_callback = callback
