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: NMike Christie <michael.christie@oracle.com> Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Acked-by: NJason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/1604986403-4931-5-git-send-email-michael.christie@oracle.comSigned-off-by: NMichael S. Tsirkin <mst@redhat.com> Acked-by: NStefan Hajnoczi <stefanha@redhat.com>
Showing
想要评论请 注册 或 登录