• Nicholas Bellinger's avatar
    tcm_vhost: Initial merge for vhost level target fabric driver · 057cbf49
    Nicholas Bellinger authored
    This patch adds the initial code for tcm_vhost, a Vhost level TCM
    fabric driver for virtio SCSI initiators into KVM guest.
    
    This code is currently up and running on v3.5-rc2 host+guest
    from target-pending/for-next-merge.
    
    Using tcm_vhost requires Zhi's -> Stefan -> nab's qemu vhost-scsi tree here:
    
      http://git.kernel.org/?p=virt/kvm/nab/qemu-kvm.git;a=shortlog;h=refs/heads/vhost-scsi
    
    --
    
    Changelog v4 -> v5:
    
      Expose ABI version via VHOST_SCSI_GET_ABI_VERSION + use Rev 0 as
      starting point for v3.6-rc code (Stefan + ALiguori + nab)
      Convert vhost_scsi_handle_vq() to vq_err() (nab + MST)
      Minor style fixes from checkpatch (nab)
    
    Changelog v3 -> v4:
    
      Rename vhost_vring_target -> vhost_scsi_target (mst + nab)
      Use TRANSPORT_IQN_LEN in vhost_scsi_target->vhost_wwpn[] def (nab)
      Move back to drivers/vhost/, and just use drivers/vhost/Kconfig.tcm (mst)
      Move TCM_VHOST related ioctl defines from include/linux/vhost.h ->
      drivers/vhost/tcm_v...
    057cbf49
Kconfig 524 Bytes