qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] megaraid_sas HBA emulation
@ 2009-10-27 15:26 Hannes Reinecke
  2009-10-27 16:47 ` Gerd Hoffmann
  2009-11-11  1:49 ` Paul Brook
  0 siblings, 2 replies; 19+ messages in thread
From: Hannes Reinecke @ 2009-10-27 15:26 UTC (permalink / raw)
  To: kvm; +Cc: qemu-devel, virtualization

Hi all,

this patchset implements an emulation for the megaraid_sas HBA.
It provides emulates an LSI MegaRAID SAS 8708EM2 HBA, ie
presenting to the guest a virtual SCSI adapter.
Internally it is using aio for read/write requests and
either SG_IO or SCSI command emulation for everything else.

The reason for choosing the megaraid_sas HBA and not, say,
implementing a virtio scsi interface is because:
- the megaraid_sas is using a very simple firmware interface,
  comparable to virtio
- the HBA driver are already existent, so I only have to
  write the backend :-)

The device can be accessed by

-drive if=raid,file=XXX

In order to support SCSI command emulation I had to update /
patch up the existing SCSI disk support. This might be
not to everyones taste, so I'm open to alternative
suggestions.

But I certainly do _not_ want to update the SCSI disk
emulation, as this is really quite tied to the SCSI parallel
interface used by the old lsi53c895a.c.
Plus it doesn't do scatter-gather list handling, which
is quite impossible to fix without proper documentation.

Of course, if anyone else would step in here, I won't object :-)

It currently runs guests with 2.6.27 and up; Windows XP
support is not quite there yet. Anything else might work;
if not, enable debugging and sent me the logfile.

As usual, comment / suggestions  etc welcome.

Cheers,

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-11-11  1:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27 15:26 [Qemu-devel] [PATCH 0/4] megaraid_sas HBA emulation Hannes Reinecke
2009-10-27 16:47 ` Gerd Hoffmann
2009-10-28  8:11   ` Hannes Reinecke
2009-10-28  8:20     ` Avi Kivity
2009-10-28  8:40     ` Christoph Hellwig
2009-10-28 10:54     ` Gerd Hoffmann
2009-10-28 13:58       ` Gerd Hoffmann
2009-10-28 19:25         ` Hannes Reinecke
2009-10-29  4:37           ` Christoph Hellwig
2009-10-29  8:47             ` Gerd Hoffmann
2009-10-29 12:57             ` Gerd Hoffmann
2009-10-29 14:57               ` Christoph Hellwig
2009-10-29 15:14                 ` Anthony Liguori
2009-10-29 15:15                   ` Christoph Hellwig
2009-10-29 15:25                     ` Anthony Liguori
2009-10-30  8:55                       ` Gerd Hoffmann
2009-10-30  8:12               ` Hannes Reinecke
2009-11-03 21:03                 ` Gerd Hoffmann
2009-11-11  1:49 ` Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).