virtio_scsi: use cmd_size
Taken almost entirely from Nicholas Bellinger's scsi-mq conversion. Signed-off-by: NChristoph Hellwig <hch@lst.de> Acked-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NNicholas Bellinger <nab@linux-iscsi.org>
Showing
想要评论请 注册 或 登录