summaryrefslogtreecommitdiffstats
path: root/hw/misc/omap_gpmc.c
diff options
context:
space:
mode:
authorPaolo Bonzini2018-10-13 11:49:16 +0200
committerPaolo Bonzini2018-10-19 13:44:12 +0200
commite6aa5ba4ac423dd282c831402110970ee278392e (patch)
treeb258493db8888e443164a005e313b955431fbabb /hw/misc/omap_gpmc.c
parenthw: edu: drop DO_UPCAST (diff)
downloadqemu-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_gpmc.c')
0 files changed, 0 insertions, 0 deletions