]> git.baikalelectronics.ru Git - kernel.git/commit
vhost scsi: add lun parser helper
authorMike Christie <michael.christie@oracle.com>
Tue, 10 Nov 2020 05:33:22 +0000 (23:33 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Nov 2020 22:30:55 +0000 (17:30 -0500)
commit7b68100dd4320fd3c0310107b20f08c024e52005
treeb9e20c7a7de06c97f2f6c2946748d9ddd1ce8015
parent278a7ec6e6e53b9fb224b227e93cb84b1aa3fada
vhost scsi: add lun parser helper

Move code to parse lun from req's lun_buf to helper, so tmf code
can use it in the next patch.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/1604986403-4931-5-git-send-email-michael.christie@oracle.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
drivers/vhost/scsi.c