[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] megasas: LSI MegaRAID SAS HBA emulation

From: Hannes Reinecke
Subject: [Qemu-devel] Re: [PATCH] megasas: LSI MegaRAID SAS HBA emulation
Date: Tue, 17 Nov 2009 11:51:52 +0100
User-agent: Thunderbird (X11/20081227)

Gerd Hoffmann wrote:
> On 11/12/09 12:48, Hannes Reinecke wrote:
>> This patch adds an emulation for the LSI MegaRAID SAS HBA.
>> It is build on top of kraxel's scsi.v7 tree.
>> This is just a rough implementation, many of the more
>> advanced topics (like Windows booting :-) are missing.
>> Signed-off-by: Hannes Reinecke<address@hidden>
> Added, will be in scsi.v8.  Needs a patch after rebasing due to pci
> changes (attached fyi).
Grand. Meanwhile I've dug up some more register definitions,
so I'll doing some more updates to the driver.

Thanks for including it.

Meanwhile I've stumbled across another issue:
The megasas HBA insists on returning some data like inquiry
or VPD pages during init/configuration.

I can't really use the normal command completion here,
as eg on megasas configuration command requires me
to issue several requests to the underlying device.

So what to do?
Easiest would it to have a non-completion interface,
like req_buf() but without the callback bit.
But really don't know if that's best.

We could also attach the inquiry data and vpd 0x83
as a property to the device; might be easier as
we don't have to add another interface.
But the properties stuff is a bit beyond me currently.


Dr. Hannes Reinecke                   zSeries & Storage
address@hidden                        +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

reply via email to

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