From: Wanlong Gao Date: Wed, 20 Mar 2013 05:14:28 +0000 (+1030) Subject: virtio-scsi: use virtqueue_add_sgs for command buffers X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~63^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=682993b4e445bdfe9935d5e6e298565b7e11d7ee;p=pandora-kernel.git virtio-scsi: use virtqueue_add_sgs for command buffers Using the new virtqueue_add_sgs function lets us simplify the queueing path. In particular, all data protected by the tgt_lock is just gone (multiqueue will find a new use for the lock). Signed-off-by: Wanlong Gao Acked-by: Paolo Bonzini Reviewed-by: Asias He Signed-off-by: Rusty Russell --- Reading git-diff-tree failed