Re: [PATCH 3/3] tcm_vhost: Convert to use mainline virtio_scsi.h

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

 



On Sun, Apr 08, 2012 at 06:30:55AM +0000, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> 
> This patch converts tcm_vhost in lio-core.git to use mainline
> virtio_scsi.h defines from v3.4-rc2.  This includes:
> 
> *) Rename virtio_scsi_cmd_header -> virtio_scsi_cmd_req
> *) Rename virtio_scsi_footer -> virtio_scsi_cmd_resp
> *) Convert vhost_scsi_handle_vq() use scsilun_to_int() from v_req->lun[8]
> 
> So for this has been compile tested only, but the changes look
> reasonably straight-forward.  Please have a look Stefan & Co..

The mainline drivers/scsi/virtio_scsi.c implements a newer virtio-scsi
device model than tcm_vhost.  Therefore mainline virtio_scsi.ko and
tcm_vhost.ko are not compatible.

This is okay, we've known about the breakage and it's time to update
tcm_vhost to support the virtio-scsi device specification.

Please go ahead an apply this.  Further patches will be needed to make
tcm_vhost work again but this is expected.

Stefan

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux