Skip to content

RFC : QMP DISK_ERROR event

Luiz Capitulino qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: Introduce drive_get_err_action()vl.c+7 -10 replies
2/2QMP: Introduce DISK_ERROR eventQMP/qmp-events.txt monitor.c monitor.h +1 more+44 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC 0/2]: QMP DISK_ERROR event

Hi there,

I've been requested by libvirt guys to add a QMP event for disk I/O errors,
this is what this series is about.

It's a RFC because I need feedback on the following:

1. drive_get_on_error() is called on all disk errors, right?
2. I've tested only ENOSPC errors, is there a way to test other errors? Like read ones?
3. Is this the right approach at all? :)

Thanks.