summary refs log tree commit diff stats
path: root/python/qemu/machine/console_socket.py
diff options
context:
space:
mode:
authorRao, Lei <lei.rao@intel.com>2021-11-10 16:37:36 +0800
committerJuan Quintela <quintela@redhat.com>2021-12-15 10:31:42 +0100
commit672159a97ce7c1ca2b97bfef439d7994f79b1c61 (patch)
tree4ded365a131792b7dc94e906dac89005bd3c8dc8 /python/qemu/machine/console_socket.py
parent76b56fdfc9fa43ec6e5986aee33f108c6c6a511e (diff)
downloadfocaccia-qemu-672159a97ce7c1ca2b97bfef439d7994f79b1c61.tar.gz
focaccia-qemu-672159a97ce7c1ca2b97bfef439d7994f79b1c61.zip
migration/ram.c: Remove the qemu_mutex_lock in colo_flush_ram_cache.
The code to acquire bitmap_mutex is added in the commit of
"63268c4970a5f126cc9af75f3ccb8057abef5ec0". There is no
need to acquire bitmap_mutex in colo_flush_ram_cache(). This
is because the colo_flush_ram_cache only be called on the COLO
secondary VM, which is the destination side.
On the COLO secondary VM, only the COLO thread will touch
the bitmap of ram cache.

Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'python/qemu/machine/console_socket.py')
0 files changed, 0 insertions, 0 deletions