diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-13 11:49:16 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-19 13:44:12 +0200 |
commit | e6aa5ba4ac423dd282c831402110970ee278392e (patch) | |
tree | b258493db8888e443164a005e313b955431fbabb /.dir-locals.el | |
parent | a519e3894436501c5c6da5e82f6b867d2c05afb5 (diff) | |
download | qemu-e6aa5ba4ac423dd282c831402110970ee278392e.zip qemu-e6aa5ba4ac423dd282c831402110970ee278392e.tar.gz qemu-e6aa5ba4ac423dd282c831402110970ee278392e.tar.bz2 |
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 '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions