rerror option for -drive
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Rename DriveInfo.onerror to on_write_errorhw/ hw/ hw/ +2 more | +16 | 3 replies | |
| 2/4 | Introduce rerror option for drivesqemu-config.c sysemu.h vl.c | +44 | 0 replies | |
| 3/4 | ide: Implement rerror optionhw/ hw/ vl.c | +39 | 0 replies | |
| 4/4 | virtio-blk: Implement rerror optionhw/ vl.c | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/4] rerror option for -drive
We already have a werror option in -drive that controls the action to be taken when write accesses to the image fail. A corresponding option for reads is still missing and is added by this patch series.
The option is implemented on IDE and virtio-blk. I have left out SCSI for now to avoid conflicts with kraxel's major restructuring work.
Kevin Wolf (4):
Rename DriveInfo.onerror to on_write_error
Introduce rerror option for drives
ide: Implement rerror option
virtio-blk: Implement rerror option
hw/ide/core.c | 54 +++++++++++++++++++++++++++++++++--------------- hw/ide/internal.h | 1 + hw/scsi-disk.c | 3 +- hw/virtio-blk.c | 13 +++++++---- qemu-config.c | 3 ++ sysemu.h | 7 ++++- vl.c | 58 ++++++++++++++++++++++++++++++++++++++-------------- 7 files changed, 98 insertions(+), 41 deletions(-)