summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-02-26 15:30:19 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-03-14 16:28:28 +0100
commit1e8ece0db3e8604d3a17bbd2bd1277161851a44a (patch)
tree2dab4999222eb1d7c03342d32ac4adf42574b481 /scripts/qapi-types.py
parent4a41a2d68a684241aca96dba066e0699941b730d (diff)
downloadfocaccia-qemu-1e8ece0db3e8604d3a17bbd2bd1277161851a44a.tar.gz
focaccia-qemu-1e8ece0db3e8604d3a17bbd2bd1277161851a44a.zip
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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions