diff options
author | Paolo Bonzini | 2018-10-13 11:49:16 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-10-19 13:44:12 +0200 |
commit | e6aa5ba4ac423dd282c831402110970ee278392e (patch) | |
tree | b258493db8888e443164a005e313b955431fbabb /hw/misc/omap_tap.c | |
parent | hw: edu: drop DO_UPCAST (diff) | |
download | qemu-e6aa5ba4ac423dd282c831402110970ee278392e.tar.gz qemu-e6aa5ba4ac423dd282c831402110970ee278392e.tar.xz qemu-e6aa5ba4ac423dd282c831402110970ee278392e.zip |
scsi-disk: fix double completion of failing passthrough requests
If a command fails with a sense that scsi_sense_buf_to_errno converts to
ECANCELED/EAGAIN/ENOTCONN or with a unit attention, scsi_req_complete is
called twice. This caused a crash.
Reported-by: Wangguang <wang.guangA@h3c.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/omap_tap.c')
0 files changed, 0 insertions, 0 deletions