Re: [Qemu-devel] [PATCH 09/10] exec: make mmap_lock/mmap_unlock globally available

2015-08-28 Thread Peter Maydell
On 12 August 2015 at 17:41, Paolo Bonzini wrote: > There is some iffy lock hierarchy going on in translate-all.c. To > fix it, we need to take the mmap_lock in cpu-exec.c. Make the > functions globally available. > > Signed-off-by: Paolo Bonzini > --- > bsd-user/qemu.h | 2 -- > includ

[Qemu-devel] [PATCH 09/10] exec: make mmap_lock/mmap_unlock globally available

2015-08-12 Thread Paolo Bonzini
There is some iffy lock hierarchy going on in translate-all.c. To fix it, we need to take the mmap_lock in cpu-exec.c. Make the functions globally available. Signed-off-by: Paolo Bonzini --- bsd-user/qemu.h | 2 -- include/exec/exec-all.h | 7 ++- linux-user/qemu.h | 2 -- tr