WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] support blktap2 in xend blkif utils

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] support blktap2 in xend blkif utils
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Thu, 06 May 2010 16:59:22 -0600
Delivery-date: Thu, 06 May 2010 16:00:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081112)
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 <=