From: Ian Jackson Subject: Re: [PATCH] libbxl: add support for pvscsi, iteration 1 Date: Fri, 2 May 2014 16:54:28 +0100 Message-ID: <21347.49076.725315.124439@mariner.uk.xensource.com> References: <1398855802-29618-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398855802-29618-1-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Ondrej Holecek , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Olaf Hering writes ("[PATCH] libbxl: add support for pvscsi, iteration 1"): > Add support for vscsi= in domU.cfg, add new xl commands scsi-attach, > scsi-list, scsi-detach. The syntax follows what xend understood. ... > +Specifies the PVSCSI devices to be provided to the guest. PVSCSI passes > +dom0 SCSI devices as-is to the guest. > + > +Each B is a mapping from dom0 SCSI devices to guest visible > +SCSI devices, like 'pvdev,vdev[,option]'. Example: '/dev/sdm,3:0:4:5,feature-host' I think this docs patch dould do with some more linewrapping. I would say "in the format" rather than "like". > +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 ? > +=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 ? > +=item C