mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-23 16:08:41 -07:00
COLO: Remove colo_state migration struct
We need to know if migration is going into COLO state for incoming side before start normal migration. Instead by using the VMStateDescription to send colo_state from source side to destination side, we use MIG_CMD_ENABLE_COLO to indicate whether COLO is enabled or not. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
8e48ac9586
commit
aad555c229
9 changed files with 57 additions and 83 deletions
2
vl.c
2
vl.c
|
|
@ -4365,8 +4365,6 @@ int main(int argc, char **argv, char **envp)
|
|||
#endif
|
||||
}
|
||||
|
||||
colo_info_init();
|
||||
|
||||
if (net_init_clients(&err) < 0) {
|
||||
error_report_err(err);
|
||||
exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue