Re: [PATCH 1/3] virthreadpool: Allow setting identity for workers

2021-10-27 Thread Michal Prívozník
On 10/26/21 5:06 PM, Daniel P. Berrangé wrote: > On Tue, Oct 26, 2021 at 04:49:55PM +0200, Michal Prívozník wrote: >> On 10/26/21 4:39 PM, Daniel P. Berrangé wrote: >>> On Tue, Oct 26, 2021 at 12:17:06PM +0200, Michal Privoznik wrote: In some cases the worker func running inside the pool may r

Re: [PATCH 1/3] virthreadpool: Allow setting identity for workers

2021-10-26 Thread Daniel P . Berrangé
On Tue, Oct 26, 2021 at 04:49:55PM +0200, Michal Prívozník wrote: > On 10/26/21 4:39 PM, Daniel P. Berrangé wrote: > > On Tue, Oct 26, 2021 at 12:17:06PM +0200, Michal Privoznik wrote: > >> In some cases the worker func running inside the pool may rely on > >> virIdentity. While worker func could c

Re: [PATCH 1/3] virthreadpool: Allow setting identity for workers

2021-10-26 Thread Michal Prívozník
On 10/26/21 4:39 PM, Daniel P. Berrangé wrote: > On Tue, Oct 26, 2021 at 12:17:06PM +0200, Michal Privoznik wrote: >> In some cases the worker func running inside the pool may rely on >> virIdentity. While worker func could check for identity and set >> one it is not optimal - it may not have acces

Re: [PATCH 1/3] virthreadpool: Allow setting identity for workers

2021-10-26 Thread Daniel P . Berrangé
On Tue, Oct 26, 2021 at 12:17:06PM +0200, Michal Privoznik wrote: > In some cases the worker func running inside the pool may rely on > virIdentity. While worker func could check for identity and set > one it is not optimal - it may not have access to the identity of > the thread creating the pool