Re: [libvirt] [PATCH] libxl: rework setting the state of virDomainObj

2015-07-08 Thread Jim Fehlig
On 07/08/2015 09:01 AM, Michal Privoznik wrote: On 08.07.2015 00:34, Jim Fehlig wrote: Set the state of virDomainObj in the functions that actually change the domain state, instead of the generic libxlDomainCleanup function. This approach gives functions calling libxlDomainCleanup more flexibili

Re: [libvirt] [PATCH] libxl: rework setting the state of virDomainObj

2015-07-08 Thread Michal Privoznik
On 08.07.2015 00:34, Jim Fehlig wrote: > Set the state of virDomainObj in the functions that > actually change the domain state, instead of the generic > libxlDomainCleanup function. This approach gives functions > calling libxlDomainCleanup more flexibility wrt when and > how they change virDomain

[libvirt] [PATCH] libxl: rework setting the state of virDomainObj

2015-07-07 Thread Jim Fehlig
Set the state of virDomainObj in the functions that actually change the domain state, instead of the generic libxlDomainCleanup function. This approach gives functions calling libxlDomainCleanup more flexibility wrt when and how they change virDomainObj state via virDomainObjSetState. The prior ap