mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Remus: Fixup for tap:tapdisk syntax in remus uname
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
This commit is contained in:
1 parent
ab8fdd95a1
commit
61e986758d
1 file changed
+2
@@ -172,6 +172,8 @@ class Blktap2Controller(BlktapController):
|
||||
uname = config.get('uname', '')
|
||||
try:
|
||||
(typ, subtyp, params, file) = string.split(uname, ':', 3)
|
||||
if subtyp not in ('tapdisk', 'ioemu'):
|
||||
raise ValueError('invalid subtype')
|
||||
except:
|
||||
(typ, params, file) = string.split(uname, ':', 2)
|
||||
subtyp = 'tapdisk'
|
||||
|
||||