'Initializes the libvirt events subsystem.
This requires running a native thread to provide the
libvirt event loop integration. This forwards events
to a green thread which does the actual dispatching.'

def _init_events(self):

    self._init_events_pipe()
    LOG.debug('Starting    native    event    thread')
    self._event_thread = native_threading.Thread(target=self._native_thread)
    self._event_thread.setDaemon(True)
    self._event_thread.start()
    LOG.debug('Starting    green    dispatch    thread')
    utils.spawn(self._dispatch_thread)
