From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvrYq-0004Tg-Rj for qemu-devel@nongnu.org; Sun, 28 Mar 2010 08:25:48 -0400 Received: from [140.186.70.92] (port=57699 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvrYp-0004So-7S for qemu-devel@nongnu.org; Sun, 28 Mar 2010 08:25:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvrYm-00039X-SV for qemu-devel@nongnu.org; Sun, 28 Mar 2010 08:25:45 -0400 Received: from verein.lst.de ([213.95.11.210]:36540) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvrYm-00039L-Fe for qemu-devel@nongnu.org; Sun, 28 Mar 2010 08:25:44 -0400 Date: Sun, 28 Mar 2010 14:25:43 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] [RFC][PATCH 4/7] blkdebug: Inject errors Message-ID: <20100328122543.GD12007@lst.de> References: <1268672915-12233-1-git-send-email-kwolf@redhat.com> <1268672915-12233-5-git-send-email-kwolf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1268672915-12233-5-git-send-email-kwolf@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org 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 enough for now. Reviewed-by: Christoph Hellwig