]> git.proxmox.com Git - qemu.git/commit - include/hw/scsi/scsi.h
scsi: add scatter/gather functionality
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2011 09:26:47 +0000 (11:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Feb 2012 12:29:08 +0000 (13:29 +0100)
commit3d5aba97e9b3e92e8788e250de85080d15c7e8f9
tree9d6e9bd3972f3a101cc22f6c14c38c3f26c9b7fb
parent01e95455889780871374e1b72cd6919cfbd23399
scsi: add scatter/gather functionality

Scatter/gather functionality uses the newly added DMA helpers.  The
device can choose between doing DMA itself, or calling scsi_req_data
as usual, which will use the newly added DMA helpers to copy piecewise
to/from the destination area(s).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi-bus.c
hw/scsi.h