Yet another version, this time with more hooks (after the network is started,
on interface plug and unplug) and tainting.
Michal Privoznik (3):
networkStartNetwork: Be more verbose
network: Introduce start and shutdown hooks
network: Taint networks that are using hook script
docs/hooks.html.in | 60 ++++++++++++---
src/conf/network_conf.c | 16 ++++
src/conf/network_conf.h | 17 +++++
src/libvirt_private.syms | 3 +
src/lxc/lxc_driver.c | 4 +-
src/lxc/lxc_process.c | 6 +-
src/network/bridge_driver.c | 179 +++++++++++++++++++++++++++++++++++++++-----
src/network/bridge_driver.h | 14 ++--
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_hotplug.c | 14 ++--
src/qemu/qemu_process.c | 2 +-
src/util/virhook.c | 13 +++-
src/util/virhook.h | 11 +++
13 files changed, 292 insertions(+), 49 deletions(-)
--
1.8.5.2