summaryrefslogtreecommitdiffstats
path: root/include/exec/cputlb.h
diff options
context:
space:
mode:
authorJia Lina2018-10-26 10:36:20 +0200
committerDr. David Alan Gilbert2018-10-31 10:38:59 +0100
commit3d63da16fbcd05405efd5946000cdb45474a9bad (patch)
treeeae180d6f698df45e85d62b99c1a41cc2f87bd2a /include/exec/cputlb.h
parentqapi: Fix COLOStatus and query-colo-status since version (diff)
downloadqemu-3d63da16fbcd05405efd5946000cdb45474a9bad.tar.gz
qemu-3d63da16fbcd05405efd5946000cdb45474a9bad.tar.xz
qemu-3d63da16fbcd05405efd5946000cdb45474a9bad.zip
migration: avoid segmentfault when take a snapshot of a VM which being migrated
During an active background migration, snapshot will trigger a segmentfault. As snapshot clears the "current_migration" struct and updates "to_dst_file" before it finds out that there is a migration task, Migration accesses the null pointer in "current_migration" struct and qemu crashes eventually. Signed-off-by: Jia Lina <jialina01@baidu.com> Signed-off-by: Chai Wen <chaiwen@baidu.com> Signed-off-by: Zhang Yu <zhangyu31@baidu.com> Message-Id: <20181026083620.10172-1-jialina01@baidu.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/exec/cputlb.h')
0 files changed, 0 insertions, 0 deletions