aboutsummaryrefslogtreecommitdiff
path: root/cpus-common.c
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2019-04-20 19:14:25 +0200
committerJason Wang <jasowang@redhat.com>2019-05-17 17:00:12 +0800
commit78e4f446d2569210a8558946b2321f9ff2ef47f6 (patch)
treefaef2cc48193872c0e85cd438160fba5c9d290d9 /cpus-common.c
parent178a0a5dea382ac13bc2cdd3c9c4c5728a40b06b (diff)
net/colo-compare.c: Fix a crash in COLO Primary.
Because event_unhandled_count may be accessed concurrently, it needs to be protected by taking the lock. However the assert is outside the lock, probably causing it to read garbage and aborting Qemu erroneously. The Bug only happens when running Qemu in COLO mode. This Patch fixes the following bug: https://bugs.launchpad.net/qemu/+bug/1824622 Signed-off-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'cpus-common.c')
0 files changed, 0 insertions, 0 deletions