savevm: Don't call colo_init_ram_cache twice
commitf51d0b4178738bba87d796eba7444f6cdb3aa0fd
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Mon, 24 Feb 2020 06:54:09 +0000 (24 14:54 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Feb 2020 09:13:54 +0000 (28 10:13 +0100)
tree9de29b7f1cf05ce3e51993e0d2b25b3fbcb92074
parent6ad8ad38d0404ee286f713e8d1f4bc2aad7eaec1
savevm: Don't call colo_init_ram_cache twice

This helper has been called twice which is wrong.
Left the one where called while get COLO enable message
from source side.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c