
The attached patch provides a generic event loop engine for the daemon. It re-factors the qemud/qemu.c to make use of this event loop implementation. NB, with this patch applied, the automatic timeout for idle shutdown is not available. This will be re-introduced in a later patch.... b/qemud/event.c | 477 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ b/qemud/event.h | 98 +++++++++++ qemud/Makefile.am | 3 qemud/internal.h | 1 qemud/qemud.c | 400 ++++++++++++++++++++++++--------------------- 5 files changed, 791 insertions(+), 188 deletions(-) Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|