• Nicholas Bellinger's avatar
    vhost/scsi: Convert completion path to use copy_to_iter · 79c14141
    Nicholas Bellinger authored
    Required for ANY_LAYOUT support when the incoming virtio-scsi response
    header + fixed size sense buffer payload may span more than a single
    iovec entry.
    
    This changes existing code to save cmd->tvc_resp_iov instead of the
    first single iovec base pointer from &vq->iov[out].
    
    Cc: Michael S. Tsirkin <mst@redhat.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    79c14141
scsi.c 62.8 KB