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

[Xen-devel] [PATCH] support blktap2 in xend blkif utils


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jim Fehlig <jfehlig@xxxxxxxxxx>
  • Date: Thu, 06 May 2010 16:59:22 -0600
  • Delivery-date: Thu, 06 May 2010 16:00:28 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Support tap2 device type in xend blkif utils parse method.

Regards,
Jim

    Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>




diff -r efa1b905d893 tools/python/xen/util/blkif.py
--- a/tools/python/xen/util/blkif.py    Tue May 04 13:59:55 2010 +0100
+++ b/tools/python/xen/util/blkif.py    Thu May 06 16:54:16 2010 -0600
@@ -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
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®.