ia64/xen-unstable

changeset 19317:a4274d1e85a3

vscsi: Fix changeset 19310.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Mar 11 13:11:21 2009 +0000 (2009-03-11)
parents 658b7ca5d4ed
children 5b8f9ef92e00
files tools/python/xen/util/vscsi_util.py
line diff
     1.1 --- a/tools/python/xen/util/vscsi_util.py	Wed Mar 11 10:15:06 2009 +0000
     1.2 +++ b/tools/python/xen/util/vscsi_util.py	Wed Mar 11 13:11:21 2009 +0000
     1.3 @@ -90,7 +90,7 @@ def _vscsi_get_scsidevices_by_lsscsi(opt
     1.4  
     1.5      devices = []
     1.6  
     1.7 -    for scsiinfo in os.popen('lsscsi -g %s 2>/dev/null' % option).readlines():
     1.8 +    for scsiinfo in os.popen('{ lsscsi -g %s; } 2>/dev/null' % option).readlines():
     1.9          s = scsiinfo.split()
    1.10          hctl = s[0][1:-1]
    1.11          try: