Re: [Qemu-devel] [PATCH 04/16] scsi: move sense handling to generic code

2011-08-03 Thread Christoph Hellwig
On Wed, Aug 03, 2011 at 10:49:07AM +0200, Paolo Bonzini wrote: > With this patch, sense data is stored in the generic data structures > for SCSI devices and requests. The SCSI layer takes care of storing > sense data in the SCSIDevice for the subsequent REQUEST SENSE command. > > At the same time

[Qemu-devel] [PATCH 04/16] scsi: move sense handling to generic code

2011-08-03 Thread Paolo Bonzini
With this patch, sense data is stored in the generic data structures for SCSI devices and requests. The SCSI layer takes care of storing sense data in the SCSIDevice for the subsequent REQUEST SENSE command. At the same time, get_sense is removed and scsi_req_get_sense can use an entirely generic