All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen and SCSI
@ 2006-06-20 21:34 Jeff Garzik
  2006-06-20 23:25 ` FUJITA Tomonori
  2006-06-20 23:38 ` Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Garzik @ 2006-06-20 21:34 UTC (permalink / raw)
  To: Randy Thelen; +Cc: xen-devel

FWIW, I'm about to complete a domU scsi driver for Xen (initiator, aka 
front-end).  Additionally, I'm writing "the other side", the associated 
target (tunnel, aka back-end) for dom0-style kernels.

I was planning on sending it to linux-scsi for review this week, then 
figure out the best path to get it upstream.

The basic message protocol draws heavily on native SCSI RPC model, and 
by that, I mean SAM and "SMP-ish".  This allows communication with any 
number of SCSI targets/LUNs/etc. between any domU or dom0.

Reading your email earlier today, I would recommend against using the 
SCSI generic driver, unless you're doing something strange like passing 
everything through userspace.  Just put SCSI commands on the request 
queue...

	Jeff

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

* Re: Xen and SCSI
  2006-06-20 21:34 Xen and SCSI Jeff Garzik
@ 2006-06-20 23:25 ` FUJITA Tomonori
  2006-06-20 23:38 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2006-06-20 23:25 UTC (permalink / raw)
  To: jeff; +Cc: rthelen, xen-devel

From: Jeff Garzik <jeff@garzik.org>
Subject: [Xen-devel] Xen and SCSI
Date: Tue, 20 Jun 2006 17:34:43 -0400

> FWIW, I'm about to complete a domU scsi driver for Xen (initiator, aka 
> front-end).  Additionally, I'm writing "the other side", the associated 
> target (tunnel, aka back-end) for dom0-style kernels.

I wrote similar front-end and back-end drivers, kinda SRP initiator
and target drivers like IBM pServer virtual drivers. The drivers use
the SCSI target framework and SRP library that lives in -mm kernels.

I could submit the initial versions this week (hopefully).

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

* Re: Xen and SCSI
  2006-06-20 21:34 Xen and SCSI Jeff Garzik
  2006-06-20 23:25 ` FUJITA Tomonori
@ 2006-06-20 23:38 ` Anthony Liguori
  1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2006-06-20 23:38 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Randy Thelen, xen-devel

Hi Jeff,

Jeff Garzik wrote:
> FWIW, I'm about to complete a domU scsi driver for Xen (initiator, aka 
> front-end).  Additionally, I'm writing "the other side", the 
> associated target (tunnel, aka back-end) for dom0-style kernels.

Neat!  Is it a standard XenBus device?  Does it use the existing 
blkfront/blkback ring queue?  Do you have a sneak peak of the code you 
could possible point us to?

REgards,

Anthony Liguori

> I was planning on sending it to linux-scsi for review this week, then 
> figure out the best path to get it upstream.
>
> The basic message protocol draws heavily on native SCSI RPC model, and 
> by that, I mean SAM and "SMP-ish".  This allows communication with any 
> number of SCSI targets/LUNs/etc. between any domU or dom0.
>
> Reading your email earlier today, I would recommend against using the 
> SCSI generic driver, unless you're doing something strange like 
> passing everything through userspace.  Just put SCSI commands on the 
> request queue...
>
>     Jeff
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2006-06-20 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 21:34 Xen and SCSI Jeff Garzik
2006-06-20 23:25 ` FUJITA Tomonori
2006-06-20 23:38 ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.