From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5FyF-00082W-CB for qemu-devel@nongnu.org; Wed, 17 Jun 2015 12:13:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5FyA-0002mc-Lg for qemu-devel@nongnu.org; Wed, 17 Jun 2015 12:13:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5FyA-0002mV-HO for qemu-devel@nongnu.org; Wed, 17 Jun 2015 12:13:42 -0400 Message-ID: <55819CB1.2080503@redhat.com> Date: Wed, 17 Jun 2015 18:13:37 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <878uborigh.fsf@linaro.org> <558160F4.3010604@redhat.com> <87lhfi72gi.fsf@linaro.org> In-Reply-To: <87lhfi72gi.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] RFC Multi-threaded TCG design document List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Cc: mttcg@greensocs.com, peter.maydell@linaro.org, mark.burton@greensocs.com, qemu-devel@nongnu.org, agraf@suse.de, guillaume.delbergue@greensocs.com, fred.konrad@greensocs.com On 17/06/2015 17:57, Alex Benn=C3=A9e wrote: > But would there be a risk is we make the BQL recursive? >=20 > I had to do this because the iomem accesses either side of a virt-io > transaction would deadlock otherwise.=20 The idea was to check if the BQL is taken, and if not take it in memory_region_dispatch_read/memory_region_dispatch_write. Paolo