qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [question] block: do we have any consideration about ad


From: Bin Wu
Subject: Re: [Qemu-devel] [question] block: do we have any consideration about adding retry support in error handling?
Date: Thu, 25 Dec 2014 17:19:36 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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,
...
<driver name='qemu' type='qcow2' cache='none' error_policy='stop' io='native'/>
...

-- 
Bin Wu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]