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/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] xend: support blktap2 in xend blkif utils
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:41:38 -0700
Delivery-date: Fri, 14 May 2010 00:47:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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):
                 fn = "/dev/%s" %(fn,)
-        if typ == "tap":
+        if typ in ("tap", "tap2"):
             (taptype, fn) = fn.split(":", 1)
     return (fn, taptype)

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] xend: support blktap2 in xend blkif utils, Xen patchbot-4.0-testing <=