Re: [RFC PATCH v2 02/14] job.h: categorize fields in struct Job

2021-12-21 Thread Emanuele Giuseppe Esposito
On 16/12/2021 17:21, Stefan Hajnoczi wrote: On Thu, Nov 04, 2021 at 10:53:22AM -0400, Emanuele Giuseppe Esposito wrote: Categorize the fields in struct Job to understand which ones need to be protected by the job mutex and which don't. Signed-off-by: Emanuele Giuseppe Esposito --- include

Re: [RFC PATCH v2 02/14] job.h: categorize fields in struct Job

2021-12-16 Thread Stefan Hajnoczi
On Thu, Nov 04, 2021 at 10:53:22AM -0400, Emanuele Giuseppe Esposito wrote: > Categorize the fields in struct Job to understand which ones > need to be protected by the job mutex and which don't. > > Signed-off-by: Emanuele Giuseppe Esposito > --- > include/qemu/job.h | 57 ++

[RFC PATCH v2 02/14] job.h: categorize fields in struct Job

2021-11-04 Thread Emanuele Giuseppe Esposito
Categorize the fields in struct Job to understand which ones need to be protected by the job mutex and which don't. Signed-off-by: Emanuele Giuseppe Esposito --- include/qemu/job.h | 57 +++--- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git