[libvirt] [PATCH]util: Helper function for checking existence of hook files for specific driver

2013-09-25 Thread Chen Hanxiao
From: Chen Hanxiao chenhanx...@cn.fujitsu.com We refresh the status of hook scripts only when start/restart libvirt or reloads its configuration. But hooks scripts may be changed. This function will help to check its existence. And we do not need to start/restart libvirt if we add/remove hook

Re: [libvirt] [PATCH]util: Helper function for checking existence of hook files for specific driver

2013-09-25 Thread Daniel P. Berrange
On Wed, Sep 25, 2013 at 05:50:47PM +0800, Chen Hanxiao wrote: From: Chen Hanxiao chenhanx...@cn.fujitsu.com We refresh the status of hook scripts only when start/restart libvirt or reloads its configuration. But hooks scripts may be changed. This function will help to check its existence.