CA-175353: resync networking after VMs have been resynced
CA-175353: resync networking after VMs have been resynced

When performing a bond/VLAN resync we need the ability to call the
xenopsd VIF.move API to move the backend device onto the right
bridge or switch. Previously these attempts would block because
the events from xenopsd thread wasn't running. To start the
events from xenopsd thread we need to have resynchronised the VM
state, which also requires the storage to be online.

Note this makes the case where a resync is done after a `service
xapi restart` on a live system, with plugged storage and running
VMs, more similar to the case where a resync is done after a
reboot.

Signed-off-by: David Scott <63c9eb0ea83039690fefa11afe17873ba8278a56@citrix.com>

jjd27/xen-api,euanh/xen-api,euanh/xen-api,thomassa/xen-api,srowe/xen-api,thomassa/xen-api,Frezzle/xen-api,Frezzle/xen-api,djs55/xen-api,anoobs/xen-api,guard163/xen-api,djs55/xen-api,srowe/xen-api,euanh/xen-api,vasilenkomike/xen-api,rafalmiel/xen-api,jjd27/xen-api,guard163/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,simonjbeaumont/xen-api,anoobs/xen-api,agimofcarmen/xen-api,euanh/xen-api,simonjbeaumont/xen-api,srowe/xen-api,salvocambria/xen-api,rafalmiel/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,anoobs/xen-api,agimofcarmen/xen-api,guard163/xen-api,jjd27/xen-api,srowe/xen-api,robertbreker/xen-api,djs55/xen-api,guard163/xen-api,rafalmiel/xen-api,thomassa/xen-api,Frezzle/xen-api,salvocambria/xen-api,guard163/xen-api,guard163/xen-api,Frezzle/xen-api,djs55/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,salvocambria/xen-api,euanh/xen-api,euanh/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,rafalmiel/xen-api,srowe/xen-api,rafalmiel/xen-api,robertbreker/xen-api,djs55/xen-api,anoobs/xen-api,jjd27/xen-api,robertbreker/xen-api,jjd27/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,thomassa/xen-api,salvocambria/xen-api,salvocambria/xen-api,agimofcarmen/xen-api,simonjbeaumont/xen-api,agimofcarmen/xen-api,vasilenkomike/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,jjd27/xen-api,djs55/xen-api,thomassa/xen-api,vasilenkomike/xen-api,anoobs/xen-api,rafalmiel/xen-api,vasilenkomike/xen-api