Skip to content

ide: Handle bdrv_aio_flush errors

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ide: Factor ide_flush_cache outhw/ide/core.c+10 -41 reply
2/2ide: Handle flush failurehw/ide/core.c hw/ide/internal.h+11 -21 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] [PATCH 0/2] ide: Handle bdrv_aio_flush errors

Until now, errors returned by bdrv_aio_flush were silently ignored, so that from a guest point of view, FLUSH would never fail even if the data hasn't made it to the host disk.

This applies the werror option also to flushes, so that by default errors are reported back to the guest, and qemu can be configured to stop the VM instead.

Kevin Wolf (2):
ide: Factor ide_flush_cache out
ide: Handle flush failure

 hw/ide/core.c     |   24 +++++++++++++++++++-----
 hw/ide/internal.h |    3 ++-
 2 files changed, 21 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.2.3