Cloudmin hooks

I would like to set hooks per VM (and per host also) which can be executed when any of the following actions occur: - Cloudmin "daemon" starts, stops, or reloads (I done it by modification /etc/init.d/cloudmin-kvm manually before, but would be nice to set up it by Cloudmin UI). - A VM starts, stops or when specific status change occured. - A network is started or stopped or an interface is plugged/unplugged to/from the network.

Now I can do it only when VM is creating, deleting or moving.

I found inspiration in libvirt project: