Re: [Qemu-devel] [PATCH v4 02/10] sysbus: Set cannot_instantiate_with_device_add_yet

2013-12-15 Thread Andreas Färber
Am 28.11.2013 17:26, schrieb arm...@redhat.com: > diff --git a/hw/core/sysbus.c b/hw/core/sysbus.c > index 146f50a..ed0477b 100644 > --- a/hw/core/sysbus.c > +++ b/hw/core/sysbus.c > @@ -257,6 +257,13 @@ static void sysbus_device_class_init(ObjectClass *klass, > void *data) > DeviceClass *k =

[Qemu-devel] [PATCH v4 02/10] sysbus: Set cannot_instantiate_with_device_add_yet

2013-11-28 Thread armbru
From: Markus Armbruster 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 no