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(-) -- 1.7.2.3