qemu/block
Kevin Wolf 8b9b0cc2fd blkdebug: Add events and rules
Block drivers can trigger a blkdebug event whenever they reach a place where it
could be useful to inject an error for testing/debugging purposes.

Rules are read from a blkdebug config file and describe which action is taken
when an event is triggered. For now this is only injecting an error (with a few
options) or changing the state (which is an integer). Rules can be declared to
be active only in a specific state; this way later rules can distiguish on
which path we came to trigger their event.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-04-23 16:08:46 +02:00
..
blkdebug.c blkdebug: Add events and rules 2010-04-23 16:08:46 +02:00
bochs.c Read-only device changed to opens it's file for read-only. 2010-01-26 15:42:01 -06:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c cow: return errno instead of -1 2010-03-09 11:22:59 -06:00
curl.c don't dereference NULL after failed strdup 2010-02-10 14:00:53 -06:00
dmg.c dmg: fix ->open failure 2010-01-11 13:41:00 -06:00
nbd.c block: kill BDRV_O_CREAT 2010-01-26 15:42:02 -06:00
parallels.c Read-only device changed to opens it's file for read-only. 2010-01-26 15:42:01 -06:00
qcow2-cluster.c qcow2: Remove request from in-flight list after error 2010-04-10 01:25:30 +02:00
qcow2-refcount.c qcow2: More checks for qemu-img check 2010-02-23 13:23:29 -06:00
qcow2-snapshot.c qcow2: Don't ignore qcow2_alloc_clusters return value 2010-01-26 14:59:19 -06:00
qcow2.c qcow2: Remove request from in-flight list after error 2010-04-10 01:25:30 +02:00
qcow2.h qcow2: Fix signedness bugs 2010-02-10 11:56:57 -06:00
qcow.c qcow: return errno instead of -1 2010-03-09 11:23:00 -06:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c raw-posix: don't assign bs->read_only 2010-04-10 02:22:05 +02:00
raw-win32.c block: kill BDRV_O_CREAT 2010-01-26 15:42:02 -06:00
vdi.c block/vdi: allow disk sizes not multiple of block size 2010-01-08 09:58:40 -06:00
vmdk.c vmdk: share cleanup code 2010-03-09 11:23:00 -06:00
vpc.c Fix spelling in comment. 2009-09-09 14:57:20 -05:00
vvfat.c Replace assert(0) with abort() or cpu_abort() 2010-03-18 18:41:57 +00:00