Nicholas Bellinger b4078b5fac 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>
2015-02-04 10:55:36 -08:00
..
2013-07-07 17:33:44 +03:00
2013-07-07 17:33:44 +03:00
2014-06-09 16:21:07 +03:00
2010-12-09 16:00:21 +02:00
2014-12-09 12:05:29 +02:00
2014-12-15 23:49:28 +02:00