mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
In the past a single AioContext was used for block I/O and it was fetched using blk_get_aio_context(). Nowadays the block layer supports running I/O from any AioContext and multiple AioContexts at the same time. Remove the dma_blk_io() AioContext argument and use the current AioContext instead. This makes calling the function easier and enables multiple IOThreads to use dma_blk_io() concurrently for the same block device. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20250311132616.1049687-3-stefanha@redhat.com> Tested-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> |
||
|---|---|---|
| .. | ||
| ahci-allwinner.c | ||
| ahci-internal.h | ||
| ahci-sysbus.c | ||
| ahci.c | ||
| atapi.c | ||
| cf.c | ||
| cmd646.c | ||
| core.c | ||
| ich.c | ||
| ide-bus.c | ||
| ide-dev.c | ||
| ide-internal.h | ||
| ioport.c | ||
| isa.c | ||
| Kconfig | ||
| macio.c | ||
| meson.build | ||
| mmio.c | ||
| pci.c | ||
| piix.c | ||
| sii3112.c | ||
| trace-events | ||
| trace.h | ||
| via.c | ||