ia64/xen-unstable

changeset 19500:59fff20323b1

xm: allow space characters in a vscsi definition.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 02 12:40:44 2009 +0100 (2009-04-02)
parents 567d312e80ad
children 085d22289e1b
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Thu Apr 02 12:40:09 2009 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Thu Apr 02 12:40:44 2009 +0100
     1.3 @@ -1081,7 +1081,7 @@ def preprocess_vscsi(vals):
     1.4      if not vals.vscsi: return
     1.5      scsi = []
     1.6      for scsi_str in vals.vscsi:
     1.7 -        d = scsi_str.split(',')
     1.8 +        d = [tmp.strip() for tmp in scsi_str.split(',')]
     1.9          n = len(d)
    1.10          if n == 2:
    1.11              tmp = d[1].split(':')