# HG changeset patch # User Keir Fraser # Date 1273220860 -3600 # Node ID 5ac6e33fa3a7fe6645eaeb7de530a29be2865c34 # Parent 7af536406c255bdc9d3429679710b0827d52bdaf xend: support blktap2 in xend blkif utils Support tap2 device type in xend blkif utils parse method. Signed-off-by: Jim Fehlig diff -r 7af536406c25 -r 5ac6e33fa3a7 tools/python/xen/util/blkif.py --- a/tools/python/xen/util/blkif.py Fri May 07 09:26:49 2010 +0100 +++ b/tools/python/xen/util/blkif.py Fri May 07 09:27:40 2010 +0100 @@ -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)