From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y91jS-000869-G7 for qemu-devel@nongnu.org; Wed, 07 Jan 2015 20:17:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y91jL-00060V-Cq for qemu-devel@nongnu.org; Wed, 07 Jan 2015 20:17:50 -0500 Received: from e37.co.us.ibm.com ([32.97.110.158]:45792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y91jL-00060K-6m for qemu-devel@nongnu.org; Wed, 07 Jan 2015 20:17:43 -0500 Received: from /spool/local by e37.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Jan 2015 18:17:41 -0700 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Roth In-Reply-To: <20150106114911.GE29775@stefanha-thinkpad.redhat.com> References: <20150102130439.GH10823@stefanha-thinkpad.redhat.com> <20150106114911.GE29775@stefanha-thinkpad.redhat.com> Message-ID: <20150108011736.4594.3970@loki> Date: Wed, 07 Jan 2015 19:17:36 -0600 Subject: Re: [Qemu-devel] [Qemu-stable] 2.1 unexpected stop after exporting blockdev via nbd server List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Andrey Korolyov Cc: "qemu-devel@nongnu.org" , qemu-stable@nongnu.org Quoting Stefan Hajnoczi (2015-01-06 05:49:11) > On Mon, Jan 05, 2015 at 05:12:10PM +0400, Andrey Korolyov wrote: > > On Fri, Jan 2, 2015 at 4:04 PM, Stefan Hajnoczi wr= ote: > > > On Thu, Dec 18, 2014 at 07:38:59PM +0400, Andrey Korolyov wrote: > > >> 2.1-stable is currently crashing with the > > >> > > >> Co-routine re-entered recursively > > >> 2014-12-16 15:06:23.578+0000: shutting down > > >> > > >> after execution of (for example) following when using virtio-dp as a > > >> disk backend: > > >> > > >> '{ "execute": "nbd-server-start", "arguments": { "addr": { "type": > > >> "inet", "data": { "host": "10.6.0.1", "port": "3333" } } } }' > > >> '{ "execute": "nbd-server-add", "arguments": {"device": > > >> "drive-virtio-disk0","writable": false } }' > > > > > > Hi, > > > You need patches from Max Reitz that make the run-time NBD server > > > support dataplane: > > > f214928 nbd: Follow the BDS' AIO context > > > 3338442 block: Add AIO context notifiers > > > 958c717 nbd: Drop nbd_can_read() > > > > > > Please try QEMU v2.2.0 or qemu.git. > > > > > > Stefan > > = > > Thanks Stefan, those commits are enough to make dataplane drive work > > well with runtime nbd server. By the way, can such functionality > > improvements (not major improvements like discard support for scsi) > > make their way as backports? To reword this, unexpected behavior like > > sudden shutdown I described is better to be closed by later fixes than > > by stubs or left as it currently behaving IMO. > = > Oops, I typoed the qemu-stable@nongnu.org email address. Trying > again... > = > QEMU stable folks: will there be another 2.1.x release? Yes, 2.1.3 was very poorly timed to go out before Christmas but obviously that didn't happen. The patch round-up should go out tomorrow with the freeze next Wednesday. The updated schedule is available here: http://qemu-project.org/Planning/2.1#Release_Schedule > = > Stefan