On 11/02/2018 04: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?
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
I don't think the blkdebug driver supports arbitrary delays right now.
Maybe we could augment it to do so?
(I thought someone already had, but maybe it wasn't merged?)
Aha, here:
https://lists.gnu.org/archive/html/qemu-devel/2018-08/msg05297.html
V2: https://lists.gnu.org/archive/html/qemu-devel/2018-09/msg00394.html
Let's work from there.