qemu/hw/ide
Stefan Hajnoczi a89c3c9b2c dma: use current AioContext for dma_blk_io()
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>
2025-03-13 17:57:23 +01:00
..
ahci-allwinner.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
ahci-internal.h hw/ide/ahci: Decouple from PCI 2024-12-14 00:16:20 +01:00
ahci-sysbus.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
ahci.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
atapi.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
cf.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
cmd646.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
core.c dma: use current AioContext for dma_blk_io() 2025-03-13 17:57:23 +01:00
ich.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
ide-bus.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
ide-dev.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
ide-internal.h ide: collapse parameters to ide_init_drive 2024-02-28 00:23:39 +01:00
ioport.c hw/ide: Include 'ide-internal.h' from current path 2024-02-27 09:37:30 +01:00
isa.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
Kconfig hw/ide/ahci: Extract TYPE_SYSBUS_AHCI into dedicated file 2024-12-14 00:16:20 +01:00
macio.c dma: use current AioContext for dma_blk_io() 2025-03-13 17:57:23 +01:00
meson.build hw/ide/ahci: Extract TYPE_SYSBUS_AHCI into dedicated file 2024-12-14 00:16:20 +01:00
mmio.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pci.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
piix.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
sii3112.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
trace-events hw/ide: Rename ide_exec_cmd() -> ide_bus_exec_cmd() 2023-02-27 22:29:02 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
via.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00