qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3] qemu-iotests: add 080 NBD client disconnect


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 3/3] qemu-iotests: add 080 NBD client disconnect tests
Date: Tue, 25 Feb 2014 12:16:36 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Feb 25, 2014 at 11:16:16AM +0100, Kevin Wolf wrote:
> Am 25.02.2014 um 11:09 hat Stefan Hajnoczi geschrieben:
> > This new test case uses nbd-fault-injector.py to simulate broken TCP
> > connections at each stage in the NBD protocol.  This way we can exercise
> > block/nbd-client.c's socket error handling code paths.
> > 
> > In particular, this serves as a regression test to make sure
> > nbd-client.c doesn't cause an infinite loop by leaving its
> > nbd_receive_reply() fd handler registered after the connection has been
> > closed.  This bug was fixed in an earlier patch.
> > 
> > Signed-off-by: Stefan Hajnoczi <address@hidden>
> > ---
> >  tests/qemu-iotests/080     | 91 
> > ++++++++++++++++++++++++++++++++++++++++++++++
> >  tests/qemu-iotests/080.out | 73 +++++++++++++++++++++++++++++++++++++
> >  tests/qemu-iotests/group   |  1 +
> 
> 083 is the next free one, afaik. (081 and 082 are used by the pull
> request I sent on Friday, and I think 080 was reserved for some series,
> but I don't remember who it was.)

Thanks, will fix in v2.

Stefan



reply via email to

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