14.06.2021 11:29, Emanuele Giuseppe Esposito wrote:
First, categorize the structure fields to identify what needs to be protected and what doesn't.We essentially need to protect only .state, and the 3 lists in BDRVBlkdebugState. Then, add the lock and mark the functions accordingly. Co-developed-by: Paolo Bonzini<pbonz...@redhat.com> Signed-off-by: Emanuele Giuseppe Esposito<eespo...@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> -- Best regards, Vladimir