WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC] pv-scsi driver (scsiback/scsifront)

To: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] pv-scsi driver (scsiback/scsifront)
From: James Smart <James.Smart@xxxxxxxxxx>
Date: Wed, 16 May 2007 09:10:13 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 16 May 2007 06:08:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1AC79799C3B324t.horikoshi@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1AC79799C3B324t.horikoshi@xxxxxxxxxxxxxx>
Reply-to: James.Smart@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Tomonari Horikoshi wrote:
> Hi all.
> 
>  We developped a pv-scsi driver that we refered Fujita-san's scsi-driver
>  and blkback.
>  (see, http://www.xensource.com/files/xensummit_4/Xen_Summit_8_Matsumoto.pdf)
> 
>  The pv-scsi driver's feature is as follow:
>   * Guest has dedicated SCSI-HBAs of Dom0.
>   * Guest can send scsi_cdb to the HBAs.
>   * Guest recognises the HBAs from hostno of xenstore.
> 
>  Currentlly, We are developping FC version based on this.
> 
> * Future work:
>   * implement python code
>   * performance tunning
>   * attach, detach
>   * suspend, resume
> 
> * We are wondering about:
>  * We used "scsihost" as xenstore nodename. Is it suitable?
>  * We consider about configfile format...  
>    scsihost = ['fc,0', 'scsi,1', 'type,num']
>                type = "fc" or "scsi"
>                num  = scsi host number on Dom0
I would expect "fc" does not need to be specified, unless there
is FC-isms exposed to the guest.

>    Do you have any comment?
>  * We have no idea how to implement suspend/resume feature.
>    ex. Physical HBA mapping for resumed guest.
>        Pending I/O.
>        The WWN within FC mode for resumed guest.
The WWN is a whole different issue - and I'm going to want to make
sure that whatever you do here is consistent with FC NPIV virtual
ports instantiated in Dom 0. See:
http://marc.info/?l=linux-scsi&m=117768770720886&w=2

>        Influence of migration.
>        ...
> 
>   Could you suggest to us about this?
> 
> 
> 
> Best regards,
> Tomonari Horikoshi
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel