Xend: Fix blkif type check for tap devices. Signed-off-by: Yosuke Iwamatsu diff -r 0a8fc1a62796 tools/python/xen/xend/server/blkif.py --- a/tools/python/xen/xend/server/blkif.py Mon May 12 11:19:09 2008 +0100 +++ b/tools/python/xen/xend/server/blkif.py Tue May 13 10:59:07 2008 +0900 @@ -56,9 +56,10 @@ class BlkifController(DevController): else: try: (typ, params) = string.split(uname, ':', 1) - if typ not in ('phy', 'file'): + if typ not in ('phy', 'file', 'tap'): raise VmError( - 'Block device must have "phy" or "file" specified to type') + 'Block device must have "phy", "file" or "tap" ' + 'specified to type') except ValueError: raise VmError( 'Block device must have physical details specified')