Re: [libvirt] [PATCH 0/4] libxl: fix virDomainObj locking and ref counting in migration APIs

2018-03-15 Thread Michal Privoznik
On 03/13/2018 06:26 PM, Jim Fehlig wrote: > While reviewing a patch [0] from John's series to rework > virDomainObjListFindBy{UUID|ID}Ref, I noticed several problems with locking > and ref counting in the libxl migration APIs. This series changes the Begin, > Prepare, Perform, and Confirm APIs to

[libvirt] [PATCH 0/4] libxl: fix virDomainObj locking and ref counting in migration APIs

2018-03-13 Thread Jim Fehlig
While reviewing a patch [0] from John's series to rework virDomainObjListFindBy{UUID|ID}Ref, I noticed several problems with locking and ref counting in the libxl migration APIs. This series changes the Begin, Prepare, Perform, and Confirm APIs to use the standard pattern of get a locked and ref