aboutsummaryrefslogtreecommitdiff
path: root/migration/vmstate.c
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2016-05-05 15:32:56 +0800
committerAmit Shah <amit.shah@redhat.com>2016-06-17 18:24:23 +0530
commit90e56fb46d0a7add88ed463efa4e723a6238f692 (patch)
tree2847f4f935b826e35b446c5523dedfb25895d2b8 /migration/vmstate.c
parentfc50438ed0b7106542048d70686ee4b1c340ea49 (diff)
migration: protect the quit flag by lock
quit_comp_thread and quit_decomp_thread are accessed by several thread, it's better to protect them with locks. We use a per thread flag to replace the global one, and the new flag is protected by a lock. Signed-off-by: Liang Li <liang.z.li@intel.com> Message-Id: <1462433579-13691-7-git-send-email-liang.z.li@intel.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'migration/vmstate.c')
0 files changed, 0 insertions, 0 deletions