Re: [Qemu-devel] [PATCH 2/2] scsi-disk: fix rerror/werror=ignore

2018-11-18 Thread Richard W.M. Jones
On Sat, Oct 13, 2018 at 11:53:23AM +0200, Paolo Bonzini wrote: > rerror=ignore was returning true from scsi_handle_rw_error but the callers > were not > calling scsi_req_complete when rerror=ignore returns true (this is the > correct thing > to do when true is returned after executing a

[Qemu-devel] [PATCH 2/2] scsi-disk: fix rerror/werror=ignore

2018-10-13 Thread Paolo Bonzini
rerror=ignore was returning true from scsi_handle_rw_error but the callers were not calling scsi_req_complete when rerror=ignore returns true (this is the correct thing to do when true is returned after executing a passthrough command). Fix this by calling it in scsi_handle_rw_error.