From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Fehlig Subject: [PATCH] support blktap2 in xend blkif utils Date: Thu, 06 May 2010 16:59:22 -0600 Message-ID: <4BE349CA.2000204@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020504080401090602020807" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020504080401090602020807 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Support tap2 device type in xend blkif utils parse method. Regards, Jim Signed-off-by: Jim Fehlig --------------020504080401090602020807 Content-Type: text/x-patch; name="xend-blkif-tap2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xend-blkif-tap2.patch" 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) --------------020504080401090602020807 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020504080401090602020807--