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

2014-02-25 Thread Kevin Wolf
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

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

2014-02-25 Thread Stefan Hajnoczi
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

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

2014-02-25 Thread Stefan Hajnoczi
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