hw/misc/macio: Realize IDE controller before accessing it
commitfc432ba0f58343c8912b80e9056315bb9bd8df92
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 19 Oct 2023 09:57:59 +0000 (19 11:57 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 15 Feb 2024 15:58:46 +0000 (15 16:58 +0100)
tree9b5137bb5105374776387e3ec52a41a497d355a2
parent59ae6bcddc3651b55b96c2bf05a6cd4312e46d10
hw/misc/macio: Realize IDE controller before accessing it

We should not wire IRQs on unrealized device.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240213130341.1793-7-philmd@linaro.org>
hw/misc/macio/macio.c