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
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>
5 days ago
..
9pfs hw/9pfs: move G_GNUC_PRINTF to header 2 months ago
acpi acpi: mark PMTIMER as unlocked 1 week ago
adc
alpha qom: Have class_init() take a const data argument 5 months ago
arm hw/arm/boot: Correctly free the MemoryDeviceInfoList 5 days ago
audio hw/audio/via-ac97: skip automatic zero-init of large array 3 months ago
avr
block hw/virtio: Build various files once 2 months ago
char hw/char/max78000_uart: Destroy FIFO on deinit 5 days ago
core hw/irq: New qemu_init_irq_child() function 5 days ago
cpu
cxl hw/cxl: mailbox-utils: 0x5605 - FMAPI Initiate DC Release 2 months ago
display hw/display/xlnx_dp: Don't leak dpcd and edid objects 5 days ago
dma hw/dma/xlnx_csu_dma: skip automatic zero-init of large array 3 months ago
fsi
gpio hw/gpio/pca9554: Avoid leak in pca9554_set_pin() 5 days ago
hppa
hyperv hw/hyperv/syndbg: skip automatic zero-init of large array 3 months ago
i2c
i386 hw/i386/pc_piix.c: remove unnecessary if() from pc_init1() 5 days ago
ide hw/ide/ich.c: Use qemu_init_irq_child() to avoid memory leak 5 days ago
input
intc hw/intc: compile some arm related source once 5 days ago
ipack
ipmi
isa hw/isa/superio: Include 'system/system.h' 5 days ago
loongarch target/loongarch: Move some function definition to kvm directory 1 week ago
m68k hw: add compat machines for 10.2 2 weeks ago
mem hw/cxl: mailbox-utils: 0x5604 - FMAPI Initiate DC Add 2 months ago
microblaze hw/microblaze: Add missing FDT dependency 2 months ago
mips hw/mips/malta: Include 'system/system.h' 5 days ago
misc hw/misc/xlnx-versal-cframe-reg: Free FIFO, g_tree on deinit 5 days ago
net hw/net: Remove mipsnet device model 5 days ago
nubus
nvme hw/nvme: cap MDTS value for internal limitation 4 weeks ago
nvram hw/nvram/fw_cfg: Remove legacy FW_CFG_ORDER_OVERRIDE 3 months ago
openrisc add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 1 week ago
pci hw/pci: Allow explicit function numbers in pci 5 days ago
pci-bridge
pci-host hw/pci-host/gpex-acpi: Use build_pci_host_bridge_osc_method 2 months ago
ppc hw/ppc: Fix build error with CONFIG_POWERNV disabled 5 days ago
remote
riscv hw/riscv/virt-acpi-build.c: Update FADT and MADT versions 1 month ago
rtc
rx
s390x hw: add compat machines for 10.2 2 weeks ago
scsi hw/scsi/mptsas: Avoid silent integer truncation in MPI_FUNC_IOC_INIT 5 days ago
sd hw/sd/sdcard: Refactor sd_bootpart_offset 5 days ago
sensor qemu: Declare all load/store helper in 'qemu/bswap.h' 2 months ago
sh4
smbios qemu: Declare all load/store helper in 'qemu/bswap.h' 2 months ago
sparc
sparc64
ssi hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030 1 month ago
timer hpet: make main counter read lock-less 1 week ago
tpm
tricore
uefi hw/uefi: open json file in binary mode 4 weeks ago
ufs hw/ufs/lu: skip automatic zero-init of large array 3 months ago
usb hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet 2 months ago
vfio vfio: Document 'use-legacy-x86-rom' property 1 month ago
vfio-user vfio scsi ui: Error-check qio_channel_socket_connect_sync() the same way 7 days ago
virtio vhost: Do not abort on log-stop error 1 month ago
vmapple qemu: Declare all load/store helper in 'qemu/bswap.h' 2 months ago
watchdog
xen hw/xen/passthrough: add missing error-report include 1 month ago
xenpv include: Rename sysemu/ -> system/ 9 months ago
xtensa
Kconfig vfio-user: add vfio-user class and container 2 months ago
meson.build hw/meson: enter target hw first 5 days ago