|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] Re: [sneak preview] major scsi overhaul |
Date: | Wed, 11 Nov 2009 14:02:48 +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 11/11/09 12:52, Hannes Reinecke wrote:
I still don't quite agree with the new scsi callback, which has just the SCSIRequest as an argument. So when supporting more command queueing we have no idea to which (internal) request structure the SCSIRequest belongs, and still have to do a lookup. Which is painful. Can we have a second 'void *arg' argument to the callback which will allow us some driver specific pointer?
How about sticking a 'void *hba_private' element into SCSIRequest instead? cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |