added libvirt hook