diff -r a672af698bc3 tools/python/xen/util/blkif.py --- a/tools/python/xen/util/blkif.py Fri Jul 09 12:35:58 2010 +0100 +++ b/tools/python/xen/util/blkif.py Sun Jul 11 12:13:34 2010 +0400 @@ -87,7 +87,10 @@ fn = "/dev/%s" %(fn,) if typ in ("tap", "tap2"): - (taptype, fn) = fn.split(":", 1) + if fn.count(":") == 1: + (taptype, fn) = fn.split(":", 1) + else: + (taptype, fn) = fn.split(":", 2)[1:3] return (fn, taptype) def blkdev_uname_to_file(uname):