|
| From: | Gerd Hoffmann |
| Subject: | Re: [Qemu-devel] [PATCH 0/4] megaraid_sas HBA emulation |
| Date: | Thu, 29 Oct 2009 09:47:19 +0100 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 10/29/09 05:37, Christoph Hellwig wrote:
- try to create generic scsi device/request structures that the hba
driver can access, and which contain additional private data for
scsi-disk/generic. Information in the generic one would include
the information about the data transfer, the tag and the command
block.
Agreed. For scsi device this did already happen as part of the qdev-ification work. It certainly makes sense to do that for scsi requests too. May also allow to kill some code duplication in scsi-disk.c and scsi-generic.c
- try to get rid of the tag indexing stuff by just using a pointer to
the generic scsi request in the hba drivers. That should get rid
of a lot of useless list searching.
Indeed. cheers, Gerd
| [Prev in Thread] | Current Thread | [Next in Thread] |