mirror of
https://github.com/qemu/qemu.git
synced 2026-05-20 15:26:07 +00:00
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 <lei.rao@intel.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user