|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH] support blktap2 in xend blkif utils
 
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
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-devel] [PATCH] support blktap2 in xend blkif utils,
Jim Fehlig <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |