Re: [Qemu-devel] [RFC][PATCH 4/7] blkdebug: Inject errors

2010-03-28 Thread Christoph Hellwig
On Mon, Mar 15, 2010 at 06:08:32PM +0100, Kevin Wolf wrote: > Add a mechanism to inject errors instead of passing requests on. With no > further patches applied, you can use it by setting inject_errno in gdb. > > Signed-off-by: Kevin Wolf The magic iocb is quite a hack, but it should work good e

[Qemu-devel] [RFC][PATCH 4/7] blkdebug: Inject errors

2010-03-15 Thread Kevin Wolf
Add a mechanism to inject errors instead of passing requests on. With no further patches applied, you can use it by setting inject_errno in gdb. Signed-off-by: Kevin Wolf --- block/blkdebug.c | 63 ++ 1 files changed, 63 insertions(+), 0 dele