From 795969ab1fe6d5a0f524be92e2e1ecd13f1873eb Mon Sep 17 00:00:00 2001 From: "Rao, Lei" Date: Thu, 11 Nov 2021 10:11:33 +0800 Subject: Fixed a QEMU hang when guest poweroff in COLO mode When the PVM guest poweroff, the COLO thread may wait a semaphore in colo_process_checkpoint().So, we should wake up the COLO thread before migration shutdown. Signed-off-by: Lei Rao Reviewed-by: Zhang Chen Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- include/migration/colo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/migration/colo.h b/include/migration/colo.h index 768e1f0..5fbe1a6 100644 --- a/include/migration/colo.h +++ b/include/migration/colo.h @@ -37,4 +37,5 @@ COLOMode get_colo_mode(void); void colo_do_failover(void); void colo_checkpoint_notify(void *opaque); +void colo_shutdown(void); #endif -- cgit v1.1