aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorMattias Nissler <mnissler@rivosinc.com>2024-09-16 10:57:08 -0700
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-09-18 09:31:56 +0100
commit2d0a071e625d7234e8c5623b7e7bf445e1bef72c (patch)
treef911a3cdb45ec1e9fbaef1593c18eef40487bade /tests/functional/qemu_test/linuxkernel.py
parent2b81c046252fbfb375ad30632362fc16e6e22bd5 (diff)
downloadqemu-2d0a071e625d7234e8c5623b7e7bf445e1bef72c.zip
qemu-2d0a071e625d7234e8c5623b7e7bf445e1bef72c.tar.gz
qemu-2d0a071e625d7234e8c5623b7e7bf445e1bef72c.tar.bz2
mac_dbdma: Remove leftover `dma_memory_unmap` calls
These were passing a NULL buffer pointer unconditionally, which happens to behave in a mostly benign way (except for the chance of an excess memory region unref and a bounce buffer leak). Per the function comment, this was never meant to be accepted though, and triggers an assertion with the "softmmu: Support concurrent bounce buffers" change. Given that the code in question never sets up any mappings, just remove the unnecessary dma_memory_unmap calls along with the DBDMA_io struct fields that are now entirely unused. Signed-off-by: Mattias Nissler <mnissler@rivosinc.com> Message-Id: <20240916175708.1829059-1-mnissler@rivosinc.com> Fixes: be1e343995 ("macio: switch over to new byte-aligned DMA helpers") Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions