You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/i386
Mark Cave-Ayland e502e614f4 hw/i386/pc_piix.c: remove unnecessary if() from pc_init1()
Now that the isapc logic has been split out of pc_piix.c, the PCI Host Bridge
(phb) object is now always set in pc_init1().

Since phb is now guaranteed not to be NULL, Coverity reports that the if()
statement surrounding ioapic_init_gsi() is now unnecessary and can be removed
along with the phb NULL initialiser.

Coverity: CID 1620557
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Fixes: 99d0630a45 ("hw/i386/pc_piix.c: assume pcmc->pci_enabled is always true in pc_init1()")
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250901203409.1196620-1-mark.caveayland@nutanix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
1 month ago
..
kvm * target/i386/kvm: Intel TDX support 4 months ago
xen qom: Make InterfaceInfo[] uses const 5 months ago
Kconfig hw/i386: move isapc machine to separate isapc.c file 1 month ago
acpi-build.c hw/i386/acpi-build: Move aml_pci_edsm to a generic place 3 months ago
acpi-build.h hw/acpi: Rename and move build_x86_acpi_pci_hotplug to pcihp 3 months ago
acpi-common.c include/system: Move exec/memory.h to system/memory.h 5 months ago
acpi-common.h
acpi-microvm.c include/system: Move exec/memory.h to system/memory.h 5 months ago
acpi-microvm.h
amd_iommu-stub.c
amd_iommu.c hw/i386/amd_iommu: Fix event log generation 2 months ago
amd_iommu.h hw/i386/amd_iommu: Fix event log generation 2 months ago
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c rust: Kconfig: Factor out whether HPET is Rust or C 7 months ago
fw_cfg.h
intel_iommu.c intel_iommu: Allow both Status Write and Interrupt Flag in QI wait 2 months ago
intel_iommu_internal.h intel_iommu: Declare supported PASID size 3 months ago
isapc.c hw/i386/isapc.c: replace rom_memory with system_memory 1 month ago
meson.build hw/i386: move isapc machine to separate isapc.c file 1 month ago
microvm-dt.c include: Rename sysemu/ -> system/ 10 months ago
microvm-dt.h
microvm.c hw/i386: Fix 'use-legacy-x86-rom' property compatibility 2 months ago
monitor.c qapi: expose rtc-reset-reinjection command unconditionally 4 months ago
multiboot.c exec/cpu-all: remove exec/target_page include 5 months ago
multiboot.h
nitro_enclave.c qom: Have class_init() take a const data argument 5 months ago
pc.c hw: add compat machines for 10.2 1 month ago
pc_piix.c hw/i386/pc_piix.c: remove unnecessary if() from pc_init1() 1 month ago
pc_q35.c hw: add compat machines for 10.2 1 month ago
pc_sysfw.c i386/pc_sysfw: Ensure sysfw flash configuration does not conflict with IGVM 3 months ago
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c exec/cpu-all: remove exec/target_page include 5 months ago
port92.c qom: Have class_init() take a const data argument 5 months ago
sgx-epc.c qom: Make InterfaceInfo[] uses const 5 months ago
sgx-stub.c qapi: make SGX commands unconditionally available 4 months ago
sgx.c qapi: make SGX commands unconditionally available 4 months ago
tdvf-hob.c i386/tdx: Setup the TD HOB list 4 months ago
tdvf-hob.h i386/tdx: Setup the TD HOB list 4 months ago
tdvf.c i386/tdvf: Fix build on 32-bit host 4 months ago
trace-events hw/i386/intel-iommu: Migrate to 3-phase reset 7 months ago
trace.h
vapic.c qom: Have class_init() take a const data argument 5 months ago
vmmouse.c qom: Have class_init() take a const data argument 5 months ago
vmport.c qom: Have class_init() take a const data argument 5 months ago
x86-common.c x86/loader: Don't update kernel header for CoCo VMs 1 month ago
x86-cpu.c include: Rename sysemu/ -> system/ 10 months ago
x86-iommu-stub.c
x86-iommu.c qom: Have class_init() take a const data argument 5 months ago
x86.c hw/i386/x86: Remove X86MachineClass::save_tsc_khz field 4 months ago