]> git.proxmox.com Git - mirror_qemu.git/commit
Introduce block dma helpers (Avi Kivity)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 21:23:58 +0000 (21:23 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 21:23:58 +0000 (21:23 +0000)
commit59a703ebaa9cb5aeda986dc8f627b8d23e3297cd
tree409d817d5e499297da04543b88823c7fcd6a3c04
parentbe959463afd3e257611d6b6ab98d24c0c94d4e3d
Introduce block dma helpers (Avi Kivity)

These helpers perform read/write requests on entire scatter/gather lists,
relieving the device emulation code from mapping and unmapping physical
memory, and from looping when map resources are exhausted.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6524 c046a42c-6fe2-441c-8c8c-71466251a162
dma-helpers.c
dma.h