From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] libbxl: add support for pvscsi, iteration 1 Date: Fri, 2 May 2014 18:00:53 +0200 Message-ID: <20140502160053.GB21983@aepfle.de> References: <1398855802-29618-1-git-send-email-olaf@aepfle.de> <21347.49076.725315.124439@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21347.49076.725315.124439@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Ondrej Holecek , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, May 02, Ian Jackson wrote: > > +Specifies the dom0 visible SCSI device. The string can be either a device path > > +like to a block device like /dev/disk/by-id/scsi-XYZ. Or it can be a device path > > +to a char device like /dev/sg5. Or it can be specified in the SCSI notation > > +HOST:CHANNEL:TARGET:LUN. Note that the latter format is unreliable because > > +the HOST value can change across dom0 reboots. > > /dev/sg5 might have an unstable name too, in some cases. > > You should specify what format HOST CHANNEL TARGET LUN are in. Are > they all decimal integers ? Can we use 0x to specify hex ? I will find out, and clearify this part of the docs. > > +=item C > > + > > +Specifies how the SCSI device is mapped into the guest. The notation is in > > +SCSI notation HOST:CHANNEL:TARGET:LUN. HOST in this case means a virthal > > +SCSI host within the guest. > > I think I don't understand "HOST". Is it an integer ? Does the Xen > PV SCSI interface then offer multiple virtual SCSI hosts ? How many ? HOST is a number. Many hosts are allowed, have to check the upper limit. Its likely $HUGE. > > +=item C