scsi: fix fw path
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Nov 2011 16:36:38 +0000 (17:36 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 18 Nov 2011 12:35:20 +0000 (13:35 +0100)
commit7082826eb41887da7795b3135eaeda1726647987
tree65b9f8204c718006fe0c3d4f1396dcc797b9add8
parent00984e395363bd924627f8c332ca08007c861a1e
scsi: fix fw path

The pre-1.0 firmware path for SCSI devices already included the LUN
using the suffix argument to add_boot_device_path.  I missed that when
making channel and LUN customizable.  Avoid that it is included twice, and
convert the colons to commas for consistency with other kinds of devices

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-bus.c
hw/scsi-disk.c