qemu-e2k/hw/pci-host
Bernhard Beschow c925f40a29 hw/pci/pci: Remove multifunction parameter from pci_new_multifunction()
There is also pci_new() which creates non-multifunction PCI devices.
Accordingly the parameter is always set to true when a multi function PCI
device is to be created.

The reason for the parameter's existence seems to be that it is used in the
internal PCI code as well which is the only location where it gets set to
false. This one usage can be resolved by factoring out an internal helper
function.

Remove this redundant, error-prone parameter.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230304114043.121024-6-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-07-10 18:59:32 -04:00
..
bonito.c bulk: Remove pointless QOM casts 2023-06-05 20:48:34 +02:00
designware.c
dino.c
gpex-acpi.c
gpex.c
grackle.c
gt64120.c
i440fx.c hw/pci-host/i440fx: Resolve i440fx_init() 2023-07-10 16:29:17 -04:00
Kconfig
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
mv643xx.h mv64361: Add dummy gigabit ethernet PHY access registers 2023-07-07 04:18:26 -03:00
mv64361.c mv64361: Add dummy gigabit ethernet PHY access registers 2023-07-07 04:18:26 -03:00
pam.c
pnv_phb3_msi.c
pnv_phb3_pbcq.c
pnv_phb3.c
pnv_phb4_pec.c
pnv_phb4.c ppc/pnv/pci: Clean up error messages 2023-06-25 22:41:30 +02:00
pnv_phb.c
pnv_phb.h
ppce500.c
q35.c hw/pci-host/q35: Make some property name macros reusable by i440fx 2023-07-10 16:29:17 -04:00
raven.c
remote.c
sabre.c hw/pci/pci: Remove multifunction parameter from pci_new_multifunction() 2023-07-10 18:59:32 -04:00
sh_pci.c
trace-events
trace.h
uninorth.c
versatile.c
xen_igd_pt.c
xilinx-pcie.c