]> git.proxmox.com Git - qemu.git/commit - exec.c
protect the ramlist with a separate mutex
authorUmesh Deshpande <udeshpan@redhat.com>
Wed, 17 Aug 2011 07:01:33 +0000 (00:01 -0700)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:08:47 +0000 (23:08 +0100)
commitb2a8658ef5dc57ea9e7a45091724a719dd4bdcd3
tree0ec9f7220ae6bc55adaca771b7ac0f144dd14e7f
parentf798b07f517143df3a1e38bccc3f72ade2f080dc
protect the ramlist with a separate mutex

Add the new mutex that protects shared state between ram_save_live
and the iothread.  If the iothread mutex has to be taken together
with the ramlist mutex, the iothread shall always be _outside_.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Umesh Deshpande <udeshpan@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
arch_init.c
exec.c
include/exec/cpu-all.h