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

[Xen-changelog] [xen-unstable] xend: support blktap2 in xend blkif utils



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273220860 -3600
# Node ID 5ac6e33fa3a7fe6645eaeb7de530a29be2865c34
# Parent  7af536406c255bdc9d3429679710b0827d52bdaf
xend: support blktap2 in xend blkif utils

Support tap2 device type in xend blkif utils parse method.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
---
 tools/python/xen/util/blkif.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 7af536406c25 -r 5ac6e33fa3a7 tools/python/xen/util/blkif.py
--- a/tools/python/xen/util/blkif.py    Fri May 07 09:26:49 2010 +0100
+++ b/tools/python/xen/util/blkif.py    Fri May 07 09:27:40 2010 +0100
@@ -86,7 +86,7 @@ def _parse_uname(uname):
             else:
                 fn = "/dev/%s" %(fn,)
                
-        if typ == "tap":
+        if typ in ("tap", "tap2"):
             (taptype, fn) = fn.split(":", 1)
     return (fn, taptype)
 

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


 


Rackspace

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