Re: [libvirt] [PATCH v2 01/11] virDomainDefPostParse: Introduce @parseOpaque argument

2016-09-23 Thread Jiri Denemark
On Fri, Sep 23, 2016 at 15:24:54 +0200, Michal Privoznik wrote: > Some callers might want to pass yet another pointer to opaque > data to post parse callbacks. The driver generic one is not > enough because two threads executing post parse callback might > want see different data (e.g. domain objec

[libvirt] [PATCH v2 01/11] virDomainDefPostParse: Introduce @parseOpaque argument

2016-09-23 Thread Michal Privoznik
Some callers might want to pass yet another pointer to opaque data to post parse callbacks. The driver generic one is not enough because two threads executing post parse callback might want see different data (e.g. domain object pointer that domain def belongs to). Signed-off-by: Michal Privoznik