From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y42iH-00023b-97 for qemu-devel@nongnu.org; Thu, 25 Dec 2014 02:20:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y42iE-0006D3-25 for qemu-devel@nongnu.org; Thu, 25 Dec 2014 02:20:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y42iD-0006Cy-Qc for qemu-devel@nongnu.org; Thu, 25 Dec 2014 02:19:57 -0500 Date: Thu, 25 Dec 2014 15:19:40 +0800 From: Fam Zheng Message-ID: <20141225071940.GA19375@ad.nay.redhat.com> References: <549B6EFA.3010603@huawei.com> <20141225024232.GA6064@ad.nay.redhat.com> <549B8891.8030401@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <549B8891.8030401@huawei.com> Subject: Re: [Qemu-devel] [question] block: do we have any consideration about adding retry support in error handling? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bin Wu Cc: Kevin Wolf , "pbonzini@redhat.com >> Paolo Bonzini" , qemu-devel@nongnu.org, Stefan Hajnoczi On Thu, 12/25 11:46, Bin Wu wrote: > On 2014/12/25 10:42, Fam Zheng wrote: > > On Thu, 12/25 09:57, Bin Wu wrote: > >> Hi, > >> > >> When IO error happens in physical device, qemu block layer supports error > >> reporting, error ignoring and error stoping(for example, virtio-blk). Can we > >> have any way to resend the error IO? > > > > With error stop, the request is retried after resume. > > > > Fam > > > > > > Thank you very much, Fam, I see. Another question: I think error stop is not the > default error handling strategy, how can we configure error stop in the VM XML > file? Can you just show me some example? Thanks again:> This is a question for libvirt, look for "error_policy": https://libvirt.org/formatdomain.html Fam