qemu-devel
[Top][All Lists]
Advanced

[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). 

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]