diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-22 18:08:24 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-06-02 12:42:01 -0700 |
commit | b1935f687bb93b207ef690f7debc0e9921fc484f (patch) | |
tree | 411904ec301b4f92cb3d279b1d311ff89500b1cb /drivers/of/of_pci.c | |
parent | 5a01d08217e39f3d36d3ca160361c7b019ff1598 (diff) |
vhost/scsi: Add preallocation of protection SGLs
This patch updates tcm_vhost_make_nexus() to pre-allocate per descriptor
tcm_vhost_cmd->tvc_prot_sgl[] used to expose protection SGLs from within
virtio-scsi guest memory to vhost-scsi.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/of/of_pci.c')
0 files changed, 0 insertions, 0 deletions