Kevin suggested this change, which works for me:
diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 6eb258d3f3..0e9027c8f3 100644 --- a/hw/scsi/scsi-disk.c +++ b/hw/scsi/scsi-disk.c @@ -482,7 +482,7 @@ static bool scsi_handle_rw_error(SCSIDiskReq *r, int error, bool acct_failed) if (action == BLOCK_ERROR_ACTION_STOP) { scsi_req_retry(&r->req); } - return false; + return true; }
static void scsi_write_complete_noio(SCSIDiskReq *r, int ret)
Kevin suggested this change, which works for me:
diff --git a/hw/scsi/ scsi-disk. c b/hw/scsi/ scsi-disk. c .0e9027c8f3 100644 scsi-disk. c scsi-disk. c rw_error( SCSIDiskReq *r, int error, bool acct_failed) ACTION_ STOP) {
scsi_ req_retry( &r->req) ;
index 6eb258d3f3.
--- a/hw/scsi/
+++ b/hw/scsi/
@@ -482,7 +482,7 @@ static bool scsi_handle_
if (action == BLOCK_ERROR_
}
- return false;
+ return true;
}
static void scsi_write_ complete_ noio(SCSIDiskRe q *r, int ret)