diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-10 09:54:18 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-10 09:54:18 +0100 |
commit | 22cc6a8b612634955f8b9001c6ec00879d05390c (patch) | |
tree | 97b293ff1fa5888a3087990782775b450cca8662 | |
parent | 85bef2cc8dec14b5e89b2e5bbaf31b0cd2281f18 (diff) | |
download | xen-22cc6a8b612634955f8b9001c6ec00879d05390c.tar.gz xen-22cc6a8b612634955f8b9001c6ec00879d05390c.tar.bz2 xen-22cc6a8b612634955f8b9001c6ec00879d05390c.zip |
xend: support blktap2 in xend blkif utils
Support tap2 device type in xend blkif utils parse method.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
xen-unstable changeset: 21317:5ac6e33fa3a7
xen-unstable date: Fri May 07 09:27:40 2010 +0100
-rw-r--r-- | tools/python/xen/util/blkif.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/util/blkif.py b/tools/python/xen/util/blkif.py index c73a946a25..cbe76b613f 100644 --- 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) |