[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] ide: Handle bdrv_aio_flush errors
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PATCH 0/2] ide: Handle bdrv_aio_flush errors |
Date: |
Tue, 19 Oct 2010 17:08:50 +0200 |
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
- [Qemu-devel] [PATCH 0/2] ide: Handle bdrv_aio_flush errors,
Kevin Wolf <=