mirror_qemu/hw/pci-host
Markus Armbruster 837d37167d sysbus: Set cannot_instantiate_with_device_add_yet
device_add plugs devices into suitable bus.  For "real" buses, that
actually connects the device.  For sysbus, the connections need to be
made separately, and device_add can't do that.  The device would be
left unconnected, and could not possibly work.

Quite a few, but not all sysbus devices already set
cannot_instantiate_with_device_add_yet in their class init function.

Set it in their abstract base's class init function
sysbus_device_class_init(), and remove the now redundant assignments
from device class init functions.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-12-23 00:27:22 +01:00
..
Makefile.objs dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
apb.c pci-bridge: Turn PCIBridge into abstract QOM type 2013-07-29 20:44:47 +02:00
bonito.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
grackle.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pam.c pam: pass device to init_pam and use it to set owner 2013-07-04 17:42:47 +02:00
piix.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
ppce500.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
prep.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
q35.c pc: map PCI address space as catchall region for not mapped addresses 2013-12-10 12:29:56 +02:00
uninorth.c PPC: Use default pci bus name for grackle and heathrow 2013-12-20 01:58:01 +01:00
versatile.c qom: Pass available size to object_initialize() 2013-08-30 21:15:44 +02:00