[CentOS] Libvirtd hooks in Centos 7

Wed Oct 21 16:47:01 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 10/21/2015 01:12 AM, Maikel van Leeuwen wrote:
> I would like to create some libvirt hooks. This is so the hypervisor can
> execute some scripts during starting or stopping of a KVM guest.
> According tohttps://www.libvirt.org/hooks.html  they must be present.
> However, it seems in Centos 7 these hooks are gone in/etc/libvirt/

/etc/libvirt/hooks isn't packaged, but I don't see anything in the 
src.rpm that disables the hook code.  If you create the directory and 
put hooks there, they should be called.