[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Linux-specific blkif.py change



On 1-Nov-06, at 5:42 PM, John Levon wrote:


Changeset 11831:f5321161c649 has broken non-Linux domUs with this
change:

         devid = blkif.blkdev_name_to_number(dev)
+        if not devid:
+ raise VmError('Unable to find number for device (%s)' % (dev))
+

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?

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.