Move event code out of the daemon/ into src/util/

The event loop implementation is used by more than just the
daemon, so move it into the shared area.

* daemon/event.c, src/util/event_poll.c: Renamed
* daemon/event.h, src/util/event_poll.h: Renamed
* tools/Makefile.am, tools/console.c, tools/virsh.c: Update
  to use new virEventPoll APIs
* daemon/mdns.c, daemon/mdns.c, daemon/Makefile.am: Update
  to use new virEventPoll APIs
This commit is contained in:
Daniel P. Berrange
2011-02-24 17:58:04 +00:00
parent 5d2c045cd8
commit 343eaa150b
12 changed files with 150 additions and 140 deletions

View File

@@ -38,7 +38,6 @@ virt-pki-validate.1: virt-pki-validate.in
virsh_SOURCES = \
console.c console.h \
../daemon/event.c ../daemon/event.h \
virsh.c
virsh_LDFLAGS = $(WARN_LDFLAGS) $(COVERAGE_LDFLAGS)