Re: [libvirt] [PATCH v2 3/3] lxc: Fix lxcDomainDestroyFlags endjob processing

2016-05-25 Thread Michal Privoznik
On 25.05.2016 00:53, John Ferlan wrote: > Commit id '15ccb0dbf' added job functions for the lxc driver; however, > for shutdown and nonpersistent path, the vm was removed from the domain > object list and the vm pointer cleared before the endjob. > > Adjust the code to perform the endjob first and

[libvirt] [PATCH v2 3/3] lxc: Fix lxcDomainDestroyFlags endjob processing

2016-05-24 Thread John Ferlan
Commit id '15ccb0dbf' added job functions for the lxc driver; however, for shutdown and nonpersistent path, the vm was removed from the domain object list and the vm pointer cleared before the endjob. Adjust the code to perform the endjob first and then perform the ObjListRemove as long as the vm