]> xenbits.xensource.com Git - seabios.git/commit
lsi-scsi: reset in case of a serious problem
authorRoman Kagan <rkagan@virtuozzo.com>
Wed, 26 Apr 2017 14:18:08 +0000 (17:18 +0300)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 2 May 2017 23:57:04 +0000 (19:57 -0400)
commit11277846e819b9eef3db5ac833a6a47f95f5ef15
treeb5ce85926acbde9a8c87f020a5ca2239b31e0c50
parentcf480dd3edd851db8ad62342937e25c064960b31
lsi-scsi: reset in case of a serious problem

When the device reports a serious problem via SIST[01] registers, it
needs to be reset, otherwise the following requests will most likely
fail, too.

In particular, REPORT LUNS which fails (wrongly) with underflow in QEMU
makes all the following requests fail, too, rendering the device
unusable.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
src/hw/lsi-scsi.c