diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-02-26 15:30:19 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-03-14 16:28:28 +0100 |
commit | 1e8ece0db3e8604d3a17bbd2bd1277161851a44a (patch) | |
tree | 2dab4999222eb1d7c03342d32ac4adf42574b481 /tests/qemu-iotests/083 | |
parent | 4a41a2d68a684241aca96dba066e0699941b730d (diff) |
tests: add nbd-fault-injector.py utility
The nbd-fault-injector.py script is a special kind of NBD server. It
throws away all writes and produces zeroes for reads. Given a list of
fault injection rules, it can simulate NBD protocol errors and is useful
for testing NBD client error handling code paths.
See the patch for documentation. This scripts is modelled after Kevin
Wolf <kwolf@redhat.com>'s blkdebug block driver.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/083')
0 files changed, 0 insertions, 0 deletions