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/pci-host
Thomas Huth ec5651340d hw/pci-host/pnv_phb: Avoid quitting QEMU if hotplug of pnv-phb-root-port fails
Currently QEMU terminates if you try to hotplug pnv-phb-root-port in
an environment where it is not supported, e.g. if doing this:

 echo "device_add pnv-phb-root-port" | \
 ./qemu-system-ppc64 -monitor stdio -M powernv9

To avoid this problem, the pnv_phb_root_port_realize() function should
not use error_fatal when trying to set the properties which might not
be available.

Fixes: c2f3f78af5 ("ppc/pnv: set root port chassis and slot using Bus properties")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221109122210.115667-1-thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2 years ago
..
Kconfig dino: move from hw/hppa to hw/pci-host 3 years ago
bonito.c hw/pci-host/bonito: Allow PCI config accesses smaller than 32-bit 3 years ago
designware.c pci-host: designware: add pcie-msi read method 4 years ago
dino.c dino: move from hw/hppa to hw/pci-host 3 years ago
gpex-acpi.c hw/pci-host/gpex-acpi: Add support for dsdt construction for pxb-cxl 3 years ago
gpex.c hw/pci-host/gpex: Don't fault for unmapped parts of MMIO and PIO windows 4 years ago
grackle.c hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h 2 years ago
i440fx.c i386/pc: create pci-host qdev prior to pc_memory_init() 2 years ago
meson.build ppc/pnv: add PnvPHB base/proxy device 2 years ago
mv643xx.h hw/pci-host: Add emulation of Marvell MV64361 PPC system controller 4 years ago
mv64361.c Remove qemu-common.h include from most units 3 years ago
pam.c hw/pci-host/pam: Replace magic number by PAM_REGIONS_COUNT definition 4 years ago
pnv_phb.c hw/pci-host/pnv_phb: Avoid quitting QEMU if hotplug of pnv-phb-root-port fails 2 years ago
pnv_phb.h ppc/pnv: add pnv-phb-root-port device 2 years ago
pnv_phb3.c hw/pci-host: pnv_phb{3, 4}: Fix heap out-of-bound access failure 2 years ago
pnv_phb3_msi.c Remove qemu-common.h include from most units 3 years ago
pnv_phb3_pbcq.c Remove qemu-common.h include from most units 3 years ago
pnv_phb4.c hw/pci-host: pnv_phb{3, 4}: Fix heap out-of-bound access failure 2 years ago
pnv_phb4_pec.c ppc/pnv: enable user created pnv-phb for powernv9 2 years ago
ppce500.c Do not include exec/address-spaces.h if it's not really necessary 4 years ago
q35.c q35:Enable TSEG only when G_SMRAME and TSEG_EN both enabled 2 years ago
raven.c Remove qemu-common.h include from most units 3 years ago
remote.c Remove qemu-common.h include from most units 3 years ago
sabre.c Do not include exec/address-spaces.h if it's not really necessary 4 years ago
sh_pci.c hw/sh4: Coding style: White space fixes 3 years ago
trace-events dino: move from hw/hppa to hw/pci-host 3 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
uninorth.c hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h 2 years ago
versatile.c pci: Rename pci_root_bus_new_inplace() to pci_root_bus_init() 3 years ago
xen_igd_pt.c xen: Use ERRP_GUARD() 4 years ago
xilinx-pcie.c hw/mips/boston: Fix Lesser GPL version number 4 years ago