qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] 2.1 unexpected stop after exporting blockdev via nbd se


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] 2.1 unexpected stop after exporting blockdev via nbd server
Date: Tue, 6 Jan 2015 11:43:19 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Jan 05, 2015 at 05:12:10PM +0400, Andrey Korolyov wrote:
> On Fri, Jan 2, 2015 at 4:04 PM, Stefan Hajnoczi <address@hidden> wrote:
> > 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.

It is a bug that NBD combined with virtio-blk dataplane aborted, it
should have produced an error message and simply refused to start the
NBD server.

Now that QEMU 2.2 stable has been released I'm not sure if additional
2.1.x releases will be made at all.  I have CCed address@hidden
to see if there is interest.

Stefan

Attachment: pgp_Q2K38N1Q6.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]