commit | b4078b5face3c1e79ef6e2dd254af04a470ed2bc | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jan 28 13:10:51 2015 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Feb 04 10:55:36 2015 -0800 |
tree | 55692e7ced0d180fd202c2c03f740a68d69d68f3 | |
parent | de1419e42088e99f8f839710c42aec759e45de77 [diff] |
vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len This patch changes vhost_scsi_map_to_sgl() parameters to accept virtio iovec ptr + len when determing pages_nr. This is currently done with iov_num_pages() -> PAGE_ALIGN, so allow the same parameters as well. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>