Revision 8171ee35
ID | 8171ee35e2ff3cea6c76280e361cf628b3a8c8df |
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>
Files
- added
- modified
- copied
- renamed
- deleted
- dma-helpers.c (diff)
- dma.h (diff)