From: Nicholas Bellinger Date: Sun, 23 Feb 2014 02:08:24 +0000 (-0800) Subject: vhost/scsi: Add preallocation of protection SGLs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1935f687bb93b207ef690f7debc0e9921fc484f;p=pandora-kernel.git 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 Cc: Paolo Bonzini Cc: Martin K. Petersen Cc: Christoph Hellwig Cc: Hannes Reinecke Acked-by: Michael S. Tsirkin Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed