mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
migration/colo: make colo_incoming_co() return void
Currently, it always returns 0, no need to check the return value at all. In addition, enter colo coroutine only if migration_incoming_colo_enabled() is true. Once the destination side enters the COLO* state, the COLO process will take over the remaining processes until COLO exits. Cc: Fabiano Rosas <farosas@suse.de> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> [fixed mangled author email address] Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
55a331655d
commit
787ea49e80
4 changed files with 7 additions and 13 deletions
|
@ -49,7 +49,7 @@ void colo_checkpoint_delay_set(void);
|
|||
*
|
||||
* Called with BQL locked, may temporary release BQL.
|
||||
*/
|
||||
int coroutine_fn colo_incoming_co(void);
|
||||
void coroutine_fn colo_incoming_co(void);
|
||||
|
||||
void colo_shutdown(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue