|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Xend: Fix blkif type check for tap device
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210679004 -3600
# Node ID 5e1a0dc74a3560376f45e54827fa0eb0f6747bfa
# Parent 1b7042d60351dd876e501f47e8ffcc270986cbdc
Xend: Fix blkif type check for tap devices.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx>
---
tools/python/xen/xend/server/blkif.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 1b7042d60351 -r 5e1a0dc74a35 tools/python/xen/xend/server/blkif.py
--- a/tools/python/xen/xend/server/blkif.py Tue May 13 10:40:49 2008 +0100
+++ b/tools/python/xen/xend/server/blkif.py Tue May 13 12:43:24 2008 +0100
@@ -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')
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Xend: Fix blkif type check for tap devices.,
Xen patchbot-unstable <=
|
|
|
|
|