Re: [libvirt] [PATCH 5/9] virDomainObjListAdd: Leave def assigning as an exercise for caller

2019-06-04 Thread Nikolay Shirokovskiy
On 30.05.2019 12:34, Michal Privoznik wrote: > Some driver have concept of jobs (e.g. qemu, lxc, libxl and vz). > This means that whenever something wants to modify a domain > object it needs to acquire job (to mutually exclude with other > threads trying to modify the same object). And

[libvirt] [PATCH 5/9] virDomainObjListAdd: Leave def assigning as an exercise for caller

2019-05-30 Thread Michal Privoznik
Some driver have concept of jobs (e.g. qemu, lxc, libxl and vz). This means that whenever something wants to modify a domain object it needs to acquire job (to mutually exclude with other threads trying to modify the same object). And aforementioned drivers do that more or less successfully.