From: John Levon Subject: Re: Linux-specific blkif.py change Date: Thu, 2 Nov 2006 02:03:46 +0000 Message-ID: <20061102020346.GC1575@totally.trollied.org> References: <20061102014250.GA1575@totally.trollied.org> <6410E3EF-2671-4BE2-93AE-A64D0CD6F3DD@cs.ubc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <6410E3EF-2671-4BE2-93AE-A64D0CD6F3DD@cs.ubc.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Brendan Cully Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Nov 01, 2006 at 06:03:03PM -0800, Brendan Cully wrote: > >The immediate problem is that Solaris domU's have "0" for dev for the > >first disk. So it's presumably matched on the hex re in util/blkif.py, > >returning 0 and failing this incorrect check. There are other > >problems: > > I don't know about the other stuff, but changing the check to > > if devid is None: > > should solve your immediate problem, right? Yes, but only by chance. regards john