Re: [PATCH v4 09/11] migration/colo: Replace QemuSemaphore with QemuEvent

2025-05-26 Thread Philippe Mathieu-Daudé
On 26/5/25 07:29, Akihiko Odaki wrote: colo_exit_sem and colo_incoming_sem represent one-shot events so they can be converted into QemuEvent, which is more lightweight. Signed-off-by: Akihiko Odaki Reviewed-by: Fabiano Rosas --- migration/migration.h | 6 +++--- migration/colo.c | 20

[PATCH v4 09/11] migration/colo: Replace QemuSemaphore with QemuEvent

2025-05-25 Thread Akihiko Odaki
colo_exit_sem and colo_incoming_sem represent one-shot events so they can be converted into QemuEvent, which is more lightweight. Signed-off-by: Akihiko Odaki Reviewed-by: Fabiano Rosas --- migration/migration.h | 6 +++--- migration/colo.c | 20 ++-- 2 files changed, 13 i