qemu-e2k/hw/i386
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
..
kvm sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
Makefile.objs hw/i386/Makefile.obj: use $(PYTHON) to run .py scripts consistently 2013-11-17 00:30:14 +04:00
acpi-build.c acpi: strip compiler info in built-in DSDT 2013-12-10 13:29:22 +02:00
acpi-build.h i386: ACPI table generation code from seabios 2013-10-14 17:48:57 +03:00
acpi-defs.h i386: ACPI table generation code from seabios 2013-10-14 17:48:57 +03:00
acpi-dsdt-cpu-hotplug.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt-dbug.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt-hpet.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt-isa.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt-pci-crs.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi-dsdt.dsl ACPI DSDT: Make control method `IQCR` serialized 2013-12-10 13:29:22 +02:00
acpi-dsdt.hex.generated ACPI DSDT: Make control method `IQCR` serialized 2013-12-10 13:29:22 +02:00
bios-linker-loader.c acpi-build: fix build on glib < 2.14 2013-11-21 07:54:03 -08:00
bios-linker-loader.h i386: add bios linker/loader 2013-10-14 17:48:52 +03:00
kvmvapic.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
multiboot.c multiboot: Calculate upper_mem in the ROM 2013-06-28 14:01:52 -05:00
multiboot.h refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
pc.c qdev: Replace no_user by cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pc_piix.c hpet: enable to entitle more irq pins for hpet 2013-12-11 20:11:09 +02:00
pc_q35.c hpet: enable to entitle more irq pins for hpet 2013-12-11 20:11:09 +02:00
pc_sysfw.c pc_sysfw: Fix ISA BIOS init for ridiculously big flash 2013-09-12 11:45:32 -05:00
q35-acpi-dsdt.dsl ACPI DSDT: Make control method `IQCR` serialized 2013-12-10 13:29:22 +02:00
q35-acpi-dsdt.hex.generated ACPI DSDT: Make control method `IQCR` serialized 2013-12-10 13:29:22 +02:00
smbios.c smbios: Set system manufacturer, product & version by default 2013-12-10 13:29:22 +02:00
ssdt-misc.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
ssdt-misc.hex.generated acpi: pre-compiled ASL files 2013-10-14 17:48:51 +03:00
ssdt-pcihp.dsl i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
ssdt-pcihp.hex.generated acpi: ssdt pcihp: updat generated file 2013-10-14 17:48:52 +03:00
ssdt-proc.dsl ssdt: fix PBLK length 2013-10-14 17:48:57 +03:00
ssdt-proc.hex.generated ssdt-proc: update generated file 2013-10-14 17:48:57 +03:00
xen_domainbuild.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
xen_domainbuild.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
xen_machine_pv.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00