Received: from eggs.gnu.org ([209.51.188.92]:38980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go9ZY-00011c-7I for qemu-devel@nongnu.org; Mon, 28 Jan 2019 11:15:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go9ZV-0000bd-2r for qemu-devel@nongnu.org; Mon, 28 Jan 2019 11:15:44 -0500 From: Alberto Garcia In-Reply-To: <20190128160109.GF5756@localhost.localdomain> References: <6ad371df66eecffccce29a0bd14695f40edd6120.1548171741.git.berto@igalia.com> <735410dc-a63e-6a28-4526-2caa810a797d@redhat.com> <20190124091222.GB4601@localhost.localdomain> <20190128145743.GC5756@localhost.localdomain> <20190128160109.GF5756@localhost.localdomain> Date: Mon, 28 Jan 2019 17:15:20 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 3/3] virtio-scsi: Forbid devices with different iothreads sharing a blockdev List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Paolo Bonzini , qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Stefan Hajnoczi On Mon 28 Jan 2019 05:01:09 PM CET, Kevin Wolf wrote: > And actually... if you move the first virtio-blk device to an > iothread, then downgrading the others isn't going to save us, because > that would still be using the backend from two threads (one > successfully enabled iothread, and the main thread). ...which makes me think that, since patch 1 from this series moves the BlockBackend back to the main AioContext on unplug, we could have a similar problem if the BDS is being used by other devices. Or am I missing something? Berto