[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU & multithreaded device emulation
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] QEMU & multithreaded device emulation |
Date: |
Wed, 23 Jan 2013 14:20:39 +0100 |
On Wed, Jan 23, 2013 at 2:17 PM, Emmanuel Blot <address@hidden> wrote:
> (I forgot to CC: the list)
>
> On Wed, Jan 23, 2013 at 2:16 PM, Emmanuel Blot <address@hidden> wrote:
>>> Today you cannot use cpu_physical_memory_*() from a thread without
>>> holding the QEMU global mutex.
>> Ok. I have not looked at this part, which API handles this global mutex?
See qemu_mutex_lock_iothread()/qemu_mutex_unlock_iothread() in
include/qemu/main-loop.h.
Stefan