Re: [PATCH v2 03/15] hw/ide: Remove internal DMA qemu_irq

2024-06-28 Thread Mark Cave-Ayland
On 27/06/2024 14:37, Akihiko Odaki wrote: A function pointer is sufficient for internal usage. Replacing qemu_irq with one fixes the leak of qemu_irq. Signed-off-by: Akihiko Odaki --- include/hw/ppc/mac_dbdma.h | 5 +++-- hw/ide/macio.c | 11 +++

[PATCH v2 03/15] hw/ide: Remove internal DMA qemu_irq

2024-06-27 Thread Akihiko Odaki
A function pointer is sufficient for internal usage. Replacing qemu_irq with one fixes the leak of qemu_irq. Signed-off-by: Akihiko Odaki --- include/hw/ppc/mac_dbdma.h | 5 +++-- hw/ide/macio.c | 11 +++ hw/misc/macio/mac_dbdma.c | 10 +- 3 files changed, 15