[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix xm scsi-attach for host OS without lsscsi



Hi,

In the case of a host OS without lsscsi command, xm scsi-attach 
command fails even if you specify existing SCSI device.

# cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: FUJITSU  Model: E2000            Rev: 0000
  Type:   Direct-Access                    ANSI SCSI revision: 05
<<snip>>
# xm scsi-attach vm1 0:0:0:0 0:0:0:0
Error: Cannot find device '0:0:0:0'
Usage: xm scsi-attach <Domain> <PhysDevice> <VirtDevice> [BackDomain]

Attach a new SCSI device.

This patch solves the problem.
Sorry, the problem is caused by my patch (changeset: 19221).

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_scsi_attach.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.