* [PATCH] support blktap2 in xend blkif utils
@ 2010-05-06 22:59 Jim Fehlig
0 siblings, 0 replies; only message in thread
From: Jim Fehlig @ 2010-05-06 22:59 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
Support tap2 device type in xend blkif utils parse method.
Regards,
Jim
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
[-- Attachment #2: xend-blkif-tap2.patch --]
[-- Type: text/x-patch, Size: 417 bytes --]
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)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-06 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 22:59 [PATCH] support blktap2 in xend blkif utils Jim Fehlig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.