From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y44aa-0004j6-CE for qemu-devel@nongnu.org; Thu, 25 Dec 2014 04:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y44aX-0004zV-6O for qemu-devel@nongnu.org; Thu, 25 Dec 2014 04:20:12 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:21295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y44aW-0004gb-DU for qemu-devel@nongnu.org; Thu, 25 Dec 2014 04:20:09 -0500 Message-ID: <549BD6A8.5020401@huawei.com> Date: Thu, 25 Dec 2014 17:19:36 +0800 From: Bin Wu MIME-Version: 1.0 References: <549B6EFA.3010603@huawei.com> <20141225024232.GA6064@ad.nay.redhat.com> <549B8891.8030401@huawei.com> <20141225071940.GA19375@ad.nay.redhat.com> In-Reply-To: <20141225071940.GA19375@ad.nay.redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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: Fam Zheng Cc: Kevin Wolf , "pbonzini@redhat.com >> Paolo Bonzini" , qemu-devel@nongnu.org, Stefan Hajnoczi On 2014/12/25 15:19, Fam Zheng wrote: > 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 > > yes, ... ... -- Bin Wu