[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [patch 0/3] properly report SCSI status codes
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [patch 0/3] properly report SCSI status codes |
Date: |
Wed, 02 Apr 2008 15:15:59 -0300 |
User-agent: |
quilt/0.46-1 |
The scsi-disk implementation passes the sense key information to the
driver ->completion() callback.
The LSI driver (and esp / usb storage too, apparently) are expecting a
scsi status code. The sense key information should be returned in
the sense buffer or later upon a REQUEST SENSE command.
For example, right now the guest interprets a completed command with
HARDWARE_ERROR sense key as scsi status code "CONDITION MET".
As a separate note, the current barrier implementation in Linux ignores
SCSI status errors (James Bottomley sent a patch to linux-scsi a few
minutes ago on that).
--
- [Qemu-devel] [patch 0/3] properly report SCSI status codes,
Marcelo Tosatti <=