hw/ide/macio: switch from using qemu_allocate_irq() to qdev input GPIOs
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 28 Jun 2024 16:03:34 +0000 (17:03 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Jul 2024 04:58:48 +0000 (06:58 +0200)
commitefb359346c7af62dfa86f7ae7d3717a098b239f5
treeb9f9f4365f723b1c93e13e3db1530ac88d3d071d
parent0ff3243a4686b020c554c62efbb25df1d4712b97
hw/ide/macio: switch from using qemu_allocate_irq() to qdev input GPIOs

This prevents the IRQs from being leaked when the macio IDE device is used.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240628160334.653168-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ide/macio.c
include/hw/misc/macio/macio.h