summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorZhang Chen2018-09-03 06:38:47 +0200
committerJason Wang2018-10-19 05:15:03 +0200
commitaad555c2294b5de22524b7dbacc728d51cc63bcc (patch)
tree2f83c8e78d6866ec5ae7a6f5c80225d0b9751f67 /vl.c
parentCOLO: Add block replication into colo process (diff)
downloadqemu-aad555c2294b5de22524b7dbacc728d51cc63bcc.tar.gz
qemu-aad555c2294b5de22524b7dbacc728d51cc63bcc.tar.xz
qemu-aad555c2294b5de22524b7dbacc728d51cc63bcc.zip
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>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 4e25c78bff..ac3ed17de4 100644
--- a/vl.c
+++ b/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);