[CA-57451] Create iovirt vm-pre-start hook script when the plugin is used to asssign VFs
[CA-57451] Create iovirt vm-pre-start hook script when the plugin is used to asssign VFs

We don't want normal users to have the additional cost of the hook on VM
start so only create it if the plugin is ever actually used for assign a VF.

Signed-off-by: James Bulpin <72bfdc294e729e409f81e31a033889e50e9493d5@citrix.com>

jjd27/xen-api,salvocambria/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,anoobs/xen-api,srowe/xen-api,thomassa/xen-api,ravippandey/xen-api,anoobs/xen-api,Frezzle/xen-api,cheng-z/xen-api,anoobs/xen-api,euanh/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,agimofcarmen/xen-api,simonjbeaumont/xen-api,koushikcgit/xen-api,Frezzle/xen-api,cheng--zhang/xen-api,huizh/xen-api,guard163/xen-api,robertbreker/xen-api,vasilenkomike/xen-api,cheng--zhang/xen-api,guard163/xen-api,robertbreker/xen-api,srowe/xen-api,huizh/xen-api,rafalmiel/xen-api,rafalmiel/xen-api,guard163/xen-api,guard163/xen-api,huizh/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,rafalmiel/xen-api,srowe/xen-api,djs55/xen-api,agimofcarmen/xen-api,cheng--zhang/xen-api,simonjbeaumont/xen-api,anoobs/xen-api,jjd27/xen-api,djs55/xen-api,koushikcgit/xen-api,simonjbeaumont/xen-api,anoobs/xen-api,koushikcgit/xen-api,cheng-z/xen-api,cheng--zhang/xen-api,anoobs/xen-api,cheng-z/xen-api,salvocambria/xen-api,rafalmiel/xen-api,salvocambria/xen-api,djs55/xen-api,koushikcgit/xen-api,ravippandey/xen-api,euanh/xen-api,srowe/xen-api,djs55/xen-api,agimofcarmen/xen-api,euanh/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,Frezzle/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,jjd27/xen-api,djs55/xen-api,huizh/xen-api,ravippandey/xen-api,ravippandey/xen-api,thomassa/xen-api,ravippandey/xen-api,rafalmiel/xen-api,robertbreker/xen-api,salvocambria/xen-api,cheng-z/xen-api,guard163/xen-api,thomassa/xen-api,jjd27/xen-api,koushikcgit/xen-api,simonjbeaumont/xen-api,cheng--zhang/xen-api,guard163/xen-api,agimofcarmen/xen-api,huizh/xen-api,huizh/xen-api,cheng-z/xen-api,cheng--zhang/xen-api,euanh/xen-api,agimofcarmen/xen-api,koushikcgit/xen-api,ravippandey/xen-api,vasilenkomike/xen-api,thomassa/xen-api,Frezzle/xen-api,robertbreker/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,agimofcarmen/xen-api,cheng-z/xen-api,euanh/xen-api,vasilenkomike/xen-api,thomassa/xen-api,djs55/xen-api,rafalmiel/xen-api,jjd27/xen-api,srowe/xen-api,cheng-z/xen-api,jjd27/xen-api,euanh/xen-api