summary refs log tree commit diff stats
path: root/hw/scsi-generic.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-07-06 08:02:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-02-22 13:29:07 +0100
commit8171ee35e2ff3cea6c76280e361cf628b3a8c8df (patch)
treefcee5ccf9fc1a5a8f2f3e6db3e02dc1a6d224cdb /hw/scsi-generic.c
parentfead0c24106993bc0ca87b7788bf2d9fd24e0a33 (diff)
downloadfocaccia-qemu-8171ee35e2ff3cea6c76280e361cf628b3a8c8df.tar.gz
focaccia-qemu-8171ee35e2ff3cea6c76280e361cf628b3a8c8df.zip
dma-helpers: add dma_buf_read and dma_buf_write
These helpers do a full transfer from an in-memory buffer to target
memory, with support for scatter/gather lists.  It will be used to
store the reply of an emulated command into a QEMUSGList provided by
the adapter.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi-generic.c')
0 files changed, 0 insertions, 0 deletions