diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-15 23:38:52 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-31 01:05:27 +0100 |
| commit | 292e13142d277c15bdd68331abc607e46628b7e1 (patch) | |
| tree | 757655100603847d4f17dd8f88707b8f4c995d35 /include/hw/qdev-core.h | |
| parent | 1e5a3f8b2a976054da96cbbb9de6cbac7c2efb79 (diff) | |
| download | focaccia-qemu-292e13142d277c15bdd68331abc607e46628b7e1.tar.gz focaccia-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/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions