From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2FnA-00015q-MB for qemu-devel@nongnu.org; Wed, 11 Oct 2017 08:07:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Fn9-0002uM-Sa for qemu-devel@nongnu.org; Wed, 11 Oct 2017 08:07:16 -0400 Date: Wed, 11 Oct 2017 14:07:06 +0200 From: Kevin Wolf Message-ID: <20171011120706.GF4593@dhcp-200-186.str.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Co-routine re-entered recursively List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Gugnani, Shashank" Cc: "qemu-devel@nongnu.org" , qemu-block@nongnu.org [ Cc: qemu-block ] Am 09.10.2017 um 21:11 hat Gugnani, Shashank geschrieben: > Hi, > > I'm trying to modify the NVMe emulator in QEMU to use multiple threads. > > After making necessary changes, I see this error: 'Co-routine re-entered recursively' > > Can anybody tell me the reason for this error? Is there anything I can do to fix this issue? I suspect that you need to fix your locking. Are you sure you're holding the AioContext locks while you're making requests to the block layer? Kevin