Re: [PATCH for-8.0 2/3] migration: Fix potential race on postcopy_qemufile_src

2023-04-12 Thread Juan Quintela
Peter Xu wrote: > postcopy_qemufile_src object should be owned by one thread, either the main > thread (e.g. when at the beginning, or at the end of migration), or by the > return path thread (when during a preempt enabled postcopy migration). If > that's not the case the access to the object mig

[PATCH for-8.0 2/3] migration: Fix potential race on postcopy_qemufile_src

2023-03-26 Thread Peter Xu
postcopy_qemufile_src object should be owned by one thread, either the main thread (e.g. when at the beginning, or at the end of migration), or by the return path thread (when during a preempt enabled postcopy migration). If that's not the case the access to the object might be racy. postcopy_pre