If your willing to set a few props, it can work. All the connections this comment is referring to are QOMified now, so sysbus hotplug is a full reality.
Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> --- hw/core/sysbus.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hw/core/sysbus.c b/hw/core/sysbus.c index 6858336..a56a74d 100644 --- a/hw/core/sysbus.c +++ b/hw/core/sysbus.c @@ -241,13 +241,6 @@ static void sysbus_device_class_init(ObjectClass *klass, void *data) DeviceClass *k = DEVICE_CLASS(klass); k->init = sysbus_device_init; k->bus_type = TYPE_SYSTEM_BUS; - /* - * 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. - */ - k->cannot_instantiate_with_device_add_yet = true; } static const TypeInfo sysbus_device_type_info = { -- 1.9.3.1.ga73a6ad