diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-02-12 13:32:06 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-02-19 18:04:53 +0000 |
commit | d63f7c1b47509f31c1e5aa8d27392d7f83e6dad2 (patch) | |
tree | cc28538a15897954a570f87f9836504f4a8929c1 /nova/utils.py | |
parent | d8c3a6d2655a4ccc64ebf46a856319e2221a9072 (diff) | |
download | nova-d63f7c1b47509f31c1e5aa8d27392d7f83e6dad2.tar.gz nova-d63f7c1b47509f31c1e5aa8d27392d7f83e6dad2.tar.xz nova-d63f7c1b47509f31c1e5aa8d27392d7f83e6dad2.zip |
Add support for lifecycle events in the libvirt driver
This wires up the libvirt compute driver to process async
events from libvirtd and emit lifecycle events. This makes
use of the native libvirt event loop to handle I/O processing
which requires a native thread.
The native thread uses a queue + self-pipe to forward events
onto a green thread. The green thread reads events off the
queue and uses the emit_event method to dispatch them to the
compute manager.
Blueprint: compute-driver-events
Change-Id: Icd2cb7081adde10420ae55beebe60350afe21379
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions