projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0704b
)
xend: support blktap2 in xend blkif utils
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 May 2010 08:27:40 +0000
(09:27 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 May 2010 08:27:40 +0000
(09:27 +0100)
Support tap2 device type in xend blkif utils parse method.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/util/blkif.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/util/blkif.py
b/tools/python/xen/util/blkif.py
index c73a946a256b9570c52b8206fd1cba778c28d37f..cbe76b613f78d13110748c7e335f86f40e2acd64 100644
(file)
--- a/
tools/python/xen/util/blkif.py
+++ b/
tools/python/xen/util/blkif.py
@@
-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)