Re: [libvirt] [PATCH libvirt-tck] bhyve: reconnect to domains after libvirtd restart

2014-07-18 Thread Roman Bogorodskiy
Ján Tomko wrote: > On 06/29/2014 06:06 PM, Roman Bogorodskiy wrote: > > Try to reconnect to the running domains after libvirtd restart. To > > achieve that, do: ... > > @@ -1207,9 +1218,16 @@ bhyveStateInitialize(bool priveleged > > ATTRIBUTE_UNUSED, > >

Re: [libvirt] [PATCH libvirt-tck] bhyve: reconnect to domains after libvirtd restart

2014-07-16 Thread Ján Tomko
On 06/29/2014 06:06 PM, Roman Bogorodskiy wrote: > Try to reconnect to the running domains after libvirtd restart. To > achieve that, do: > > * Save domain state > - Modify virBhyveProcessStart() to save domain state to the state > dir > - Modify virBhyveProcessStop() to cleanup the pidfi

[libvirt] [PATCH libvirt-tck] bhyve: reconnect to domains after libvirtd restart

2014-06-29 Thread Roman Bogorodskiy
Try to reconnect to the running domains after libvirtd restart. To achieve that, do: * Save domain state - Modify virBhyveProcessStart() to save domain state to the state dir - Modify virBhyveProcessStop() to cleanup the pidfile and the state * Detect if the state information loaded fro