summaryrefslogtreecommitdiffstats
path: root/include/qemu/qemu-print.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-12-15 23:38:52 +0100
committerPhilippe Mathieu-Daudé2021-12-31 01:05:27 +0100
commit292e13142d277c15bdd68331abc607e46628b7e1 (patch)
tree757655100603847d4f17dd8f88707b8f4c995d35 /include/qemu/qemu-print.h
parentdma: Let dma_buf_read() take MemTxAttrs argument (diff)
downloadqemu-292e13142d277c15bdd68331abc607e46628b7e1.tar.gz
qemu-292e13142d277c15bdd68331abc607e46628b7e1.tar.xz
qemu-292e13142d277c15bdd68331abc607e46628b7e1.zip
dma: Let dma_buf_rw() propagate MemTxResult
dma_memory_rw() returns a MemTxResult type. Do not discard it, return it to the caller. Since dma_buf_rw() was previously returning the QEMUSGList size not consumed, add an extra argument where this size can be stored. Update the 2 callers. Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211223115554.3155328-14-philmd@redhat.com>
Diffstat (limited to 'include/qemu/qemu-print.h')
0 files changed, 0 insertions, 0 deletions