From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asqeb-00052n-8H for qemu-devel@nongnu.org; Wed, 20 Apr 2016 07:50:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asqea-0004UZ-Cd for qemu-devel@nongnu.org; Wed, 20 Apr 2016 07:50:45 -0400 Date: Wed, 20 Apr 2016 13:50:36 +0200 From: Kevin Wolf Message-ID: <20160420115036.GG6517@noname.str.redhat.com> References: <20160420021101.GC8684@ad-mail.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160420021101.GC8684@ad-mail.usersys.redhat.com> Subject: Re: [Qemu-devel] I/O errors reported to guest for raw-image-file backed /dev/vda - but host sees no I/O errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Lutz Vieweg , qemu-devel@nongnu.org, qemu-block@nongnu.org Am 20.04.2016 um 04:11 hat Fam Zheng geschrieben: > On Tue, 04/19 19:47, Lutz Vieweg wrote: > > The guest drive parameters are: > > > -drive "file=image.raw,if=virtio,format=raw,media=disk,cache=unsafe,werror=report,rerror=report" > > Given this implies aio=threads... > > > Can you provide any hint on how to pursue the cause of these errors? > > (I thought about using "strace -f -p ..." on qemu, but I don't > > know what exactly to look for in the output - some failed "pwrite()" > > to the image file?) > > ... yes, this should work. To catch all possible write failures, I think pwrite, pwritev and possibly fdatasync need to be considered. Kevin