Re: [Qemu-devel] [PATCH] SCSI: Add SCSI passthrough via scsi-generic to libiscsi

2012-05-26 Thread Paolo Bonzini
Il 25/05/2012 13:59, Ronnie Sahlberg ha scritto: > Update iscsi to allow passthrough of SG_IO scsi commands when the iscsi > device is forced to be scsi-generic. > > Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend, > emulate the SG_IO ioctl and pass the SCSI commands across t

[Qemu-devel] [PATCH] SCSI: Add SCSI passthrough via scsi-generic to libiscsi

2012-05-25 Thread Ronnie Sahlberg
Update iscsi to allow passthrough of SG_IO scsi commands when the iscsi device is forced to be scsi-generic. Implement both bdrv_ioctl() and bdrv_aio_ioctl() in the iscsi backend, emulate the SG_IO ioctl and pass the SCSI commands across to the iscsi target. This allows end-to-end passthrough of