Skip to contentSkip to conversation

support blktap2 in xend blkif utils

PATCH New Jim Fehlig 1 participant 1 message May 6, 2010

lore
Share & tools
lore

Jim Fehlig

author
#0 lore raw

PATCH 1/1 support blktap2 in xend blkif utils

Support tap2 device type in xend blkif utils parse method.

Regards,
Jim

tools/python/xen/util/blkif.py +1 -1
diff -r efa1b905d893 tools/python/xen/util/blkif.py
@@ -86,7 +86,7 @@
             else:
                 fn = "/dev/%s" %(fn,)
                
-        if typ == "tap":
+        if typ in ("tap", "tap2"):
             (taptype, fn) = fn.split(":", 1)
     return (fn, taptype)
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel