Re: [libvirt] [PATCH v3 08/15] network_conf: Introduce locked versions of lookup functions

2015-03-11 Thread Peter Krempa
On Tue, Mar 10, 2015 at 17:45:14 +0100, Michal Privoznik wrote: > This is going to be needed later, when some functions already > have the virNetworkObjList object already locked and need to > lookup a object to work on. As an example of such function is > virNetworkAssignDef(). The other use case

[libvirt] [PATCH v3 08/15] network_conf: Introduce locked versions of lookup functions

2015-03-10 Thread Michal Privoznik
This is going to be needed later, when some functions already have the virNetworkObjList object already locked and need to lookup a object to work on. As an example of such function is virNetworkAssignDef(). The other use case might be in virNetworkObjListForEach() callback. Signed-off-by: Michal