Message ID | 154280365407.27000.3799049800925042503.malone@soybean.canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [Bug,1804323] Re: qemu segfaults in virtio-scsi driver if underlying device returns -EIO | expand |
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)