From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 1 of 3] xend/pvscsi: fix passing of SCSI control LUNs Date: Fri, 24 Aug 2012 13:17:52 +0200 Message-ID: <20120824111752.GA14745@aepfle.de> References: <52f3d52bacdecb2c8d7f.1345746247@probook.site> <1345799722.12501.176.camel@zakaz.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: <1345799722.12501.176.camel@zakaz.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 Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, Aug 24, Ian Campbell wrote: > On Thu, 2012-08-23 at 19:24 +0100, Olaf Hering wrote: > > # HG changeset patch > > # User Olaf Hering > > # Date 1345743306 -7200 > > # Node ID 52f3d52bacdecb2c8d7f8aa26e2600febc03b6dd > > # Parent e6ca45ca03c2e08af3a74b404166527b68fd1218 > > xend/pvscsi: fix passing of SCSI control LUNs > > > > Currently pvscsi can not pass SCSI devices that have just a scsi_generic node. > > In the following example sg3 is a control LUN for the disk sdd. > > But vscsi=['4:0:2:0,0:0:0:0'] does not work because the internal 'devname' > > variable remains None. Later writing p-devname to xenstore fails because None > > is not a valid string variable. > > Just out of interest, would you not need to pass through 4:0:2:1 too? Yes, this is just an example how to pass the control LUN at all. Olaf