summaryrefslogtreecommitdiff
path: root/drivers/sbus
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-03-20 05:14:27 (GMT)
committerRusty Russell <rusty@rustcorp.com.au>2013-03-20 05:14:55 (GMT)
commit20af3cfd20145fece208ada7cb10e1fd7f21f128 (patch)
tree6667ee73917c10d8b7b5c3358b043a71cc1bbae4 /drivers/sbus
parent8f39db9d3709afe944710f124111ec87467d25c7 (diff)
downloadlinux-20af3cfd20145fece208ada7cb10e1fd7f21f128.tar.xz
virtio-blk: use virtqueue_add_sgs on req path
(This is a respin of Paolo Bonzini's patch, but it calls virtqueue_add_sgs() instead of his multi-part API). This is similar to the previous patch, but a bit more radical because the bio and req paths now share the buffer construction code. Because the req path doesn't use vbr->sg, however, we need to add a couple of arguments to __virtblk_add_req. We also need to teach __virtblk_add_req how to build SCSI command requests. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Asias He <asias@redhat.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions