commit | 682993b4e445bdfe9935d5e6e298565b7e11d7ee | [log] [tgz] |
---|---|---|
author | Wanlong Gao <gaowanlong@cn.fujitsu.com> | Wed Mar 20 15:44:28 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Wed Mar 20 15:44:59 2013 +1030 |
tree | bae70a13bcefc1ae501aa96d5b0a9623028b0315 | |
parent | 0a11cc36f7b33fa2de0ad95199d2f2ab896fbd93 [diff] |
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 <gaowanlong@cn.fujitsu.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Asias He <asias@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>