diff options
| author | Stefan Hajnoczi | 2014-02-26 15:30:20 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-03-14 16:29:02 +0100 |
| commit | dc668ded1009f88da5e31bc5a143cf3e9070d49b (patch) | |
| tree | fcc022ad05a2b142d90f48cc82196842e94cf0c0 /include/exec/memory.h | |
| parent | tests: add nbd-fault-injector.py utility (diff) | |
| download | qemu-dc668ded1009f88da5e31bc5a143cf3e9070d49b.tar.gz qemu-dc668ded1009f88da5e31bc5a143cf3e9070d49b.tar.xz qemu-dc668ded1009f88da5e31bc5a143cf3e9070d49b.zip | |
qemu-iotests: add 083 NBD client disconnect tests
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 <stefanha@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
