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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273481658 -3600
# Node ID 783cfba8867a01d8288234be6f94d740d981f136
# Parent  cca6b6c6f8388f5541f9ece1286c7c7d60f6871c
xend: support blktap2 in xend blkif utils

Support tap2 device type in xend blkif utils parse method.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
xen-unstable changeset:   21317:5ac6e33fa3a7
xen-unstable date:        Fri May 07 09:27:40 2010 +0100
---
 tools/python/xen/util/blkif.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r cca6b6c6f838 -r 783cfba8867a tools/python/xen/util/blkif.py
--- a/tools/python/xen/util/blkif.py    Mon May 10 09:49:33 2010 +0100
+++ b/tools/python/xen/util/blkif.py    Mon May 10 09:54:18 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®.