]> git.proxmox.com Git - mirror_qemu.git/commit
scsi-disk: fix rerror/werror=ignore
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 13 Oct 2018 09:52:34 +0000 (11:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:13 +0000 (13:44 +0200)
commit40dce4ee61c68395f6d463fae792f61b7c003bce
tree5bd097c3a5a34be2f0dfc5f21e2e4cd9014fed6d
parente6aa5ba4ac423dd282c831402110970ee278392e
scsi-disk: fix rerror/werror=ignore

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.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c