Re: [RFC PATCH 03/15] job-common.h: categorize fields in struct Job

2021-11-02 Thread Stefan Hajnoczi
On Fri, Oct 29, 2021 at 12:39:02PM -0400, Emanuele Giuseppe Esposito wrote: > Categorize the fields in struct Job to understand which need > to be protected by the job muutex and which not. s/muutex/mutex/ (__) `\--(oo) ||(__) .o( moo-tex ) ||w--|| BTW "which ones

[RFC PATCH 03/15] job-common.h: categorize fields in struct Job

2021-10-29 Thread Emanuele Giuseppe Esposito
Categorize the fields in struct Job to understand which need to be protected by the job muutex and which not. Also move job_type() and job_type_str() there, as they are common helper functions. Signed-off-by: Emanuele Giuseppe Esposito --- include/qemu/job-common.h | 62