Files
qemu/hw/scsi
Hannes Reinecke a78310b9c0 [openSUSE] scsi-generic: check for additional SG_IO status on completion (bsc#1178049)
SG_IO may return additional status in the 'status', 'driver_status',
and 'host_status' fields. When either of these fields are set the
command has not been executed normally, so we should not continue
processing this command but rather return an error.
scsi_read_complete() already checks for these errors,
scsi_write_complete() does not.

References: bsc#1178049
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Lin Ma <lma@suse.com>
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
2024-10-29 10:56:52 +01:00
..
2024-07-23 22:34:54 +02:00
2023-09-21 11:31:16 +03:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2013-09-12 08:46:21 +02:00
2023-12-30 07:38:06 +11:00