[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?
From: |
Dongli Zhang |
Subject: |
Re: [Qemu-devel] How to emulate block I/O timeout on qemu side? |
Date: |
Tue, 6 Nov 2018 14:17:46 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 11/06/2018 01:49 AM, Eric Blake wrote:
> On 11/2/18 3:11 AM, Dongli Zhang wrote:
>> Hi,
>>
>> Is there any way to emulate I/O timeout on qemu side (not fault injection in
>> VM
>> kernel) without modifying qemu source code?
>
> You may be interested in Rich's work on nbdkit. If you don't mind the
> overhead
> of the host connecting through NBD, then you can use nbdkit's delay and
> fault-injection filters for inserting delays or even run-time-controllable
> failures to investigate how the guest reacts to those situations
Thank you all very much for the suggestions. I will take a look on nbdkit.
So far I am reproducing the issue with NFS (by shutdown the link to NFS where
the image is placed on purpose) but it did not work well.
>
>>
>> For instance, I would like to observe/study/debug the I/O timeout handling of
>> nvme, scsi, virtio-blk (not supported) of VM kernel.
>>
>> Is there a way to trigger this on purpose on qemu side?
>>
>> Thank you very much!
>>
>> Dongli Zhang
>>
>>
>
Dongli Zhang
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, (continued)
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, John Snow, 2018/11/02
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Marc Olson, 2018/11/02
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, John Snow, 2018/11/02
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Dongli Zhang, 2018/11/03
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, John Snow, 2018/11/05
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Marc Olson, 2018/11/12
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Dongli Zhang, 2018/11/12
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Marc Olson, 2018/11/12
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Dongli Zhang, 2018/11/12
Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?, Eric Blake, 2018/11/05
- Re: [Qemu-devel] How to emulate block I/O timeout on qemu side?,
Dongli Zhang <=