qemu-e2k/softmmu
Philippe Mathieu-Daudé 292e13142d 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>
2021-12-31 01:05:27 +01:00
..
arch_init.c
balloon.c
bootdevice.c
cpu-throttle.c
cpu-timers.c
cpus.c
datadir.c
device_tree.c device_tree: Add qemu_fdt_add_path 2021-10-20 18:17:54 -07:00
dma-helpers.c dma: Let dma_buf_rw() propagate MemTxResult 2021-12-31 01:05:27 +01:00
globals.c
icount.c
ioport.c
main.c
memory_mapping.c
memory.c memory: Introduce replay_discarded callback for RamDiscardManager 2021-11-01 22:56:44 +01:00
meson.build
physmem.c accel/tcg: suppress IRQ check for special TBs 2021-11-29 15:12:37 +00:00
qdev-monitor.c pci,pc,virtio: bugfixes 2021-11-15 21:56:15 +01:00
qemu-seccomp.c
qtest.c
rtc.c
runstate-action.c
runstate.c
timers-state.h
tpm.c
trace-events memory: make global_dirty_tracking a bitmask 2021-11-01 22:56:43 +01:00
trace.h
vl.c migration: fix dump-vmstate with modules 2021-11-22 11:14:28 +01:00