qemu/hw/isa
Bernhard Beschow 295385127e hw/i386/pc_q35: Wire ICH9 LPC function's interrupts before its realize()
When the board assigns the ISA IRQs after the device's realize(), internal
devices such as the RTC can't be wired in ich9_lpc_realize() since the qemu_irqs
are still NULL. Fix that by assigning the ISA interrupts before realize().

This change is necessary for PIIX consolidation because PIIX4 wires the RTC
interrupts in its realize() method, so PIIX3 needs to do so as well. Since the
PC and Q35 boards share RTC code, and since PIIX3 needs the change, ICH9 needs
to be adapted as well.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20231007123843.127151-9-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-10-22 05:18:16 -04:00
..
apm.c nomaintainer: Fix Lesser GPL version number 2020-11-15 17:04:40 +01:00
i82378.c hw/isa/i82378: Remove unused "io" attribute 2023-06-05 07:43:23 +01:00
isa-bus.c hw/isa: Factor isa_bus_get_irq() out of isa_get_irq() 2023-02-27 22:29:02 +01:00
isa-superio.c hw/char/parallel-isa: Export struct ISAParallelState 2023-06-13 11:28:58 +02:00
Kconfig hw/i386/pc: Create RTC controllers in south bridges 2023-05-19 10:30:46 -04:00
lpc_ich9.c hw/i386/pc_q35: Wire ICH9 LPC function's interrupts before its realize() 2023-10-22 05:18:16 -04:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
pc87312.c pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 2020-09-09 13:20:22 -04:00
piix3.c hw/isa/piix3: Rename "pic" attribute to "isa_irqs_in" 2023-10-22 05:18:16 -04:00
piix4.c hw/rtc/mc146818rtc: Rename RTCState -> MC146818RtcState 2023-02-27 22:29:02 +01:00
smc37c669-superio.c hw/isa/superio: Correct the license text 2020-04-01 19:00:16 +02:00
trace-events hw/audio/via-ac97: Basic implementation of audio playback 2023-03-08 00:37:48 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vt82c686.c hw/isa/vt82c686: Remove via_isa_set_irq() 2023-07-11 00:11:25 +02:00