From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go9o7-0005C4-AD for qemu-devel@nongnu.org; Mon, 28 Jan 2019 11:30:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go9o5-000515-9G for qemu-devel@nongnu.org; Mon, 28 Jan 2019 11:30:47 -0500 Date: Mon, 28 Jan 2019 17:30:28 +0100 From: Kevin Wolf Message-ID: <20190128163028.GJ5756@localhost.localdomain> References: <735410dc-a63e-6a28-4526-2caa810a797d@redhat.com> <20190124091222.GB4601@localhost.localdomain> <20190128145743.GC5756@localhost.localdomain> <20190128160109.GF5756@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: Alberto Garcia Cc: Paolo Bonzini , qemu-devel@nongnu.org, qemu-block@nongnu.org, Max Reitz , Stefan Hajnoczi Am 28.01.2019 um 17:15 hat Alberto Garcia geschrieben: > 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? Oops. :-) Maybe we do need to implement the proper solution? Kevin