mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xm: allow space characters in a vscsi definition.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
ab438874b6
commit
1847d666d1
1 file changed
+1
-1
@@ -1081,7 +1081,7 @@ def preprocess_vscsi(vals):
|
||||
if not vals.vscsi: return
|
||||
scsi = []
|
||||
for scsi_str in vals.vscsi:
|
||||
d = scsi_str.split(',')
|
||||
d = [tmp.strip() for tmp in scsi_str.split(',')]
|
||||
n = len(d)
|
||||
if n == 2:
|
||||
tmp = d[1].split(':')
|
||||
|
||||