From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NccR0-0000gK-NM for qemu-devel@nongnu.org; Wed, 03 Feb 2010 05:26:10 -0500 Received: from [199.232.76.173] (port=36936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NccQz-0000fv-Ls for qemu-devel@nongnu.org; Wed, 03 Feb 2010 05:26:09 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NccQy-0000N6-2w for qemu-devel@nongnu.org; Wed, 03 Feb 2010 05:26:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35110) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NccQx-0000Mo-LU for qemu-devel@nongnu.org; Wed, 03 Feb 2010 05:26:07 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o13AQ5bl012997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Feb 2010 05:26:05 -0500 Message-ID: <4B694F09.2020903@redhat.com> Date: Wed, 03 Feb 2010 11:25:13 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1265145013-23231-1-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1265145013-23231-1-git-send-email-lcapitulino@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v0 0/5]: BLOCK_IO_ERROR QMP event List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org Am 02.02.2010 22:10, schrieb Luiz Capitulino: > Hi, > > This series adds the BLOCK_IO_ERROR event libvirt guys have requested, > I have made some improvements after Kevin's feedback and hope it's in better > shape now. > > The only small issue is that I couldn't get a read error. I've followed Kevin's > advices wrt NFS, but got only write errors... I should have explained in more detail what I'm doing to produce a read error... I boot the system from a local image that won't go away when NFS is down. I add another image (can be empty) stored on NFS and with cache=off. Then I turn NFS off and start something like a dd if=/dev/vdb of=/dev/null iflag=direct. This way you produce only reads. Kevin