qemu-e2k/hw/i386
Bernhard Beschow 8b6cf5128e hw/i386/pc_piix: Assign PIIX3's ISA interrupts before its realize()
Unlike its PIIX4 counterpart, TYPE_PIIX3_DEVICE doesn't instantiate a PIC
itself. Instead, it relies on the board to do so. This means that the board
needs to wire the ISA IRQs to the PIIX3 device model. As long as the board
assigns the ISA IRQs after PIIX3's realize(), internal devices can't be wired in
pci_piix3_realize() since the qemu_irqs are still NULL. Fix that by assigning
the ISA interrupts before realize(). This will allow for embedding child devices
into the host device as already done for PIIX4.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>

Message-Id: <20231007123843.127151-4-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
..
kvm accel/tcg: Replace CPUState.env_ptr with cpu_env() 2023-10-04 11:03:54 -07:00
xen xen-platform: do full PCI reset during unplug of IDE devices 2023-08-01 10:22:33 +01:00
acpi-build.c hw/i386/acpi-build: Remove build-time assertion on PIIX/ICH9 reset registers being identical 2023-10-22 05:18:16 -04:00
acpi-build.h
acpi-common.c hw/i386/acpi-build: Use pc_madt_cpu_entry() directly 2023-10-04 18:15:05 -04:00
acpi-common.h hw/i386/acpi-build: Use pc_madt_cpu_entry() directly 2023-10-04 18:15:05 -04:00
acpi-microvm.c hw/i386: changes towards enabling -Wshadow=local for x86 machines 2023-10-06 10:56:54 +02:00
acpi-microvm.h
amd_iommu.c amd_iommu: Fix APIC address check 2023-10-04 18:15:06 -04:00
amd_iommu.h amd_iommu: Fix APIC address check 2023-10-04 18:15:06 -04:00
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c hw/i386/fw_cfg: Include missing 'cpu.h' header 2023-09-07 13:32:37 +02:00
fw_cfg.h
intel_iommu_internal.h hw/i386/intel_iommu: Fix struct VTDInvDescIEC on big endian hosts 2023-08-03 16:06:49 -04:00
intel_iommu.c intel_iommu: Fix shadow local variables on "size" 2023-09-29 10:07:19 +02:00
Kconfig hw/i386/Kconfig: ISAPC works fine without VGA_ISA 2023-05-22 09:39:15 +02:00
kvmvapic.c
meson.build hw/i386: Remove now redundant TYPE_ACPI_GED_X86 2023-10-04 18:15:05 -04:00
microvm-dt.c
microvm-dt.h
microvm.c hw/i386: Remove now redundant TYPE_ACPI_GED_X86 2023-10-04 18:15:05 -04:00
multiboot.c
multiboot.h
pc_piix.c hw/i386/pc_piix: Assign PIIX3's ISA interrupts before its realize() 2023-10-22 05:18:16 -04:00
pc_q35.c hw/i386/pc: improve physical address space bound check for 32-bit x86 systems 2023-10-04 18:15:06 -04:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c hw/i386/pc: Merge two if statements into one 2023-10-22 05:18:16 -04:00
port92.c
sgx-epc.c
sgx-stub.c
sgx.c
trace-events vmmouse: replace DPRINTF with tracing 2023-09-12 10:37:01 +04:00
trace.h
vmmouse.c vmmouse: use explicit code 2023-09-12 10:37:02 +04:00
vmport.c
x86-iommu-stub.c
x86-iommu.c hw/i386/x86-iommu: Fix endianness issue in x86_iommu_irq_to_msi_message() 2023-08-03 16:16:17 -04:00
x86.c hw/i386: changes towards enabling -Wshadow=local for x86 machines 2023-10-06 10:56:54 +02:00